MCPcopy Create free account
hub / github.com/goadesign/goa / Hash

Method Hash

expr/types.go:636–638  ·  view source on GitHub ↗

Hash returns a unique hash value for m.

()

Source from the content-addressed store, hash-verified

634
635// Hash returns a unique hash value for m.
636func (u *Union) Hash() string {
637 return Hash(u, true, false, true)
638}
639
640// IsCompatible returns true if u describes the (Go) type of val.
641func (u *Union) IsCompatible(val any) bool {

Callers

nothing calls this directly

Calls 1

HashFunction · 0.85

Tested by

no test coverage detected