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

Interface Hasher

codegen/scope.go:21–25  ·  view source on GitHub ↗

Hasher is the interface implemented by the objects that must be scoped.

Source from the content-addressed store, hash-verified

19 // Hasher is the interface implemented by the objects that must be
20 // scoped.
21 Hasher interface {
22 // Hash computes a unique instance hash suitable for indexing
23 // in a map.
24 Hash() string
25 }
26
27 // Scoper provides a scope for generating unique names.
28 Scoper interface {

Callers 5

HashedUniqueMethod · 0.65
GoFullTypeNameMethod · 0.65
compatibleFunction · 0.65
collectUnionTypesFunction · 0.65
collectViewUnionTypesFunction · 0.65

Implementers 7

APIExprexpr/api.go
ServiceExprexpr/service.go
UserTypeExprexpr/user_type.go
Arrayexpr/types.go
Mapexpr/types.go
Unionexpr/types.go
SchemeExprexpr/security.go

Calls

no outgoing calls

Tested by

no test coverage detected