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

Method ID

expr/user_type.go:21–26  ·  view source on GitHub ↗

ID returns the unique identifier for the user type.

()

Source from the content-addressed store, hash-verified

19
20// ID returns the unique identifier for the user type.
21func (u *UserTypeExpr) ID() string {
22 if u.UID != "" {
23 return u.UID
24 }
25 return u.Name()
26}
27
28// Kind implements DataKind.
29func (*UserTypeExpr) Kind() Kind { return UserTypeKind }

Callers 1

recExampleMethod · 0.95

Calls 1

NameMethod · 0.95

Tested by

no test coverage detected