Entities в model, repositories в repositories

This commit is contained in:
ErickSkrauch
2017-08-09 19:19:46 +03:00
parent 11a7570f51
commit 428bedf301
10 changed files with 38 additions and 28 deletions

View File

@@ -13,8 +13,3 @@ type Skin struct {
MojangSignature string `json:"mojangSignature"`
OldUsername string
}
type SkinsRepository interface {
FindByUsername(username string) (Skin, error)
FindByUserId(id int) (Skin, error)
}