Created
February 18, 2020 14:08
-
-
Save victorsteven/148db4c216eea67fa200eb35aadef09e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package repository | |
import ( | |
"food-app/domain/entity" | |
) | |
type UserRepository interface { | |
SaveUser(*entity.User) (*entity.User, map[string]string) | |
GetUser(uint64) (*entity.User, error) | |
GetUsers() ([]entity.User, error) | |
GetUserByEmailAndPassword(*entity.User) (*entity.User, map[string]string) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment