mirror of
https://github.com/elyby/chrly.git
synced 2024-11-18 03:03:01 +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)
|
|
}
|