Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewValidate ¶
func NewValidate() validate
Types ¶
type Repository ¶
type Repository interface {
Get(ctx context.Context, in *numv1.NumberServiceGetRequest) (int64, error)
}
func NewRepoManager ¶
func NewRepoManager() Repository
type Service ¶
type Service interface { numv1.NumberServiceServer }
func NewService ¶
func NewService(repo Repository, validator validate) Service
Click to show internal directories.
Click to hide internal directories.