Created
December 10, 2021 04:40
-
-
Save manakuro/ea082486e45a7802d79758850ab6a2e4 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
| package repository | |
| import ( | |
| "context" | |
| "golang-clean-architecture-ent-gqlgen/pkg/entity/model" | |
| ) | |
| // User is an interface of repository | |
| type User interface { | |
| Get(ctx context.Context, id *int) (*model.User, error) | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment