Created
December 10, 2021 04:50
-
-
Save manakuro/bdebf6789aa5c7ac3a8933cc45bdb6a4 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
type User interface { | |
Get(ctx context.Context, id *model.ID) (*model.User, error) | |
} | |
... | |
func (u *user) Get(ctx context.Context, id *model.ID) (*model.User, error) { | |
return u.userUsecase.Get(ctx, id) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment