MCPcopy Create free account
hub / github.com/connor4312/validity / ValidateStruct

Function ValidateStruct

validity.go:89–91  ·  view source on GitHub ↗

This function converts the struct into a map, then runs ValidateMap() on it. See ValidateMap's documentation for usage details.

(s interface{}, rules ValidationRules)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Calls 1

ValidateMapFunction · 0.85