Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ToResponseError ¶
ToResponseError Converts playground errors to the generic response error from which we can translate
func ValidateStruct ¶
func ValidateStruct(i interface{}) error
ValidateStruct is a helper for easy validation
Types ¶
type GoPlaygroundValidator ¶
type GoPlaygroundValidator struct {
// contains filtered or unexported fields
}
GoPlaygroundValidator Request Validation. Currently Empty But can add any Validator
func (*GoPlaygroundValidator) Validate ¶
func (v *GoPlaygroundValidator) Validate(i interface{}) error
Validate Implements the validator interface
Click to show internal directories.
Click to hide internal directories.