Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Validator = validator.New()
Functions ¶
func ValidateInferenceRequest ¶
func ValidateInferenceRequest(c *fiber.Ctx) error
Types ¶
type InferenceRequest ¶
type InferenceRequest struct {
Data []float64 `json:"data" validate:"required,len=20"`
}
Click to show internal directories.
Click to hide internal directories.