MCPcopy Create free account
hub / github.com/canopyclimate/golive / Validate

Method Validate

changeset/changeset.go:14–14  ·  view source on GitHub ↗

Validate validates that the provided URL value are valid for the given struct. It returns a map of field name to error message for each field that is invalid or an error if there was a general error validating.

(any, url.Values)

Source from the content-addressed store, hash-verified

12 // It returns a map of field name to error message for each field that is invalid
13 // or an error if there was a general error validating.
14 Validate(any, url.Values) (map[string]error, error)
15}
16
17// Decoder decodes a url.Values into a struct.

Callers 1

UpdateMethod · 0.65

Implementers 1

GoPlaygroundChangesetConfigchangeset/goplayground.go

Calls

no outgoing calls

Tested by

no test coverage detected