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) }