schema

package
v0.0.0-...-655cea5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 30, 2024 License: MIT Imports: 2 Imported by: 0

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 IError

type IError struct {
	Field string
	Tag   string
	Value string
}

type InferenceRequest

type InferenceRequest struct {
	Data []float64 `json:"data" validate:"required,len=20"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL