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

Function NewValidateMinMaxInt

config/observer/validator.go:268–272  ·  view source on GitHub ↗

NewValidateMinMaxInt creates a new observer to check if a value is contained between min and max values. Argument MinMax must be balanced slice.

(minMax ...int64)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

TestMinMaxInt_ObserveFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestMinMaxInt_ObserveFunction · 0.68