...

Source file src/github.com/go-playground/validator/v10/_examples/gin-upgrading-overriding/main.go

Documentation: github.com/go-playground/validator/v10/_examples/gin-upgrading-overriding

     1  package main
     2  
     3  import "github.com/gin-gonic/gin/binding"
     4  
     5  func main() {
     6  
     7  	binding.Validator = new(defaultValidator)
     8  
     9  	// regular gin logic
    10  }
    11  

View as plain text