mirror of
https://github.com/elyby/chrly.git
synced 2024-12-11 15:59:18 +05:30
16 lines
319 B
Go
16 lines
319 B
Go
package interfaces
|
|
|
|
import (
|
|
"elyby/minecraft-skinsystem/model"
|
|
)
|
|
|
|
type SkinsRepository interface {
|
|
FindByUsername(username string) (*model.Skin, error)
|
|
FindByUserId(id int) (*model.Skin, error)
|
|
Save(skin *model.Skin) error
|
|
}
|
|
|
|
type CapesRepository interface {
|
|
FindByUsername(username string) (model.Cape, error)
|
|
}
|