Created
January 21, 2019 19:42
-
-
Save shanev/90ee98c22ca956ea153ca1e7e5c33d65 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
// GenericMutations write to the database | |
type GenericMutations interface { | |
Add(model ...interface{}) error | |
RegisterModel(model interface{}) error | |
Remove(model interface{}) error | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment