Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Module = fx.Options( fx.Provide(NewService), )
Functions ¶
This section is empty.
Types ¶
type GreetingRequest ¶
type GreetingRequest struct {
Name string `form:"name" binding:"required"`
}
type IService ¶
type IService interface {
Greet(ctx context.Context, request GreetingRequest) Greeting
}
func NewService ¶
func NewService() IService
Click to show internal directories.
Click to hide internal directories.