MCPcopy Create free account
hub / github.com/corestoreio/pkg / ValidateMinMaxInt

Struct ValidateMinMaxInt

config/observer/validator.go:260–264  ·  view source on GitHub ↗

ValidateMinMaxInt validates if a value is between or in range of min and max. Provide the field Conditions as a balanced slice where value n defines min and n+1 the max value. For JSON handling, see sub-package `json`. easyjson:json

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected