func NewDefaultValidator() Validator {
	v10 := validator.New()
	v10.SetTagName("form")
	return &DefaultValidator{v10}
}
NewDefaultValidator returns a Validator constructed from the go-playground v10
validator
package requestutils
import (
	"fmt"
	"net/http"
	"strings"
	"github.com/porter-dev/porter/api/server/shared/apierrors"
	"github.com/go-playground/validator/v10"
)
type Validator interface {
	Validate(s interface{}) apierrors.RequestError
}
type DefaultValidator struct {
	v10 *validator.Validate
}