package handler import ( "github.com/go-playground/validator/v10" "gorm.io/gorm" ) type Handler struct { DB *gorm.DB Validator *validator.Validate }