diff --git a/datastore/skinstore.go b/datastore/skinstore.go index 316d8d1..0ba0a2a 100644 --- a/datastore/skinstore.go +++ b/datastore/skinstore.go @@ -4,6 +4,6 @@ import "github.com/josephbmanley/OpenSkins-Common/datatypes" type Skinstore interface { Initialize() error - GetSkin(string) (datatypes.Skin, error) + GetSkin(string) (*datatypes.Skin, error) AddSkin(string, []byte) error } diff --git a/datastore/userstore.go b/datastore/userstore.go index 51e3ceb..a1e3782 100644 --- a/datastore/userstore.go +++ b/datastore/userstore.go @@ -4,6 +4,6 @@ import "github.com/josephbmanley/OpenSkins-Common/datatypes" type Userstore interface { Initialize() error - GetUser(uid string) (datatypes.User, error) + GetUser(uid string) (*datatypes.User, error) SetUser(datatypes.User) error }