Documentation ¶
Index ¶
- Variables
- func NewDB(lc fx.Lifecycle, logger *gofx.Logger, cfg *config.Config) *pgxpool.Pool
- func NewDBRepo(db *pgxpool.Pool) *dbrepo.Queries
- func NewWaCli(lc fx.Lifecycle, cfg *config.Config, pool *pgxpool.Pool, ...) *whatsapp.Client
- func RegisterRouters(middleware *Middleware.Handler, homepage *Homepage.Handler, ...) *gofx.Router
- type CustomValidator
Constants ¶
This section is empty.
Variables ¶
View Source
var ServerCmd = &cobra.Command{
Use: "serve [no options!]",
Short: "Start application server",
RunE: run,
}
Functions ¶
Types ¶
type CustomValidator ¶
type CustomValidator struct {
Validator *validator.Validate
}
func (*CustomValidator) Validate ¶
func (cv *CustomValidator) Validate(i any) error
Click to show internal directories.
Click to hide internal directories.