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

Method Example

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

Example generates a pseudo-random value using the given random generator.

(*ExampleGenerator)

Source from the content-addressed store, hash-verified

23 IsCompatible(any) bool
24 // Example generates a pseudo-random value using the given random generator.
25 Example(*ExampleGenerator) any
26 // Hash returns a unique hash value for the instance of the type.
27 Hash() string
28 }

Callers 15

recExampleMethod · 0.65
UnionToObjectFunction · 0.65
ExampleMethod · 0.65
ExampleMethod · 0.65
ExampleMethod · 0.65
ExampleMethod · 0.65
TestExampleFunction · 0.65
ExampleMethod · 0.65
byLengthFunction · 0.65
analyzeMethod · 0.65

Implementers 4

UserTypeExprexpr/user_type.go
Arrayexpr/types.go
Mapexpr/types.go
Unionexpr/types.go

Calls

no outgoing calls

Tested by 3

TestExampleFunction · 0.52