gin_valid/go-playground/validator/v10/_examples/gin-upgrading-overriding/main.go

11 lines
129 B
Go
Raw Normal View History

2020-11-27 23:07:41 +08:00
package main
import "gin-valid/gin/binding"
func main() {
binding.Validator = new(defaultValidator)
// regular gin logic
}