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

Function finalizeSet

eval/eval.go:243–252  ·  view source on GitHub ↗

finalizeSet runs the finalizer on all the set expressions that define one.

(set ExpressionSet)

Source from the content-addressed store, hash-verified

241
242// finalizeSet runs the finalizer on all the set expressions that define one.
243func finalizeSet(set ExpressionSet) {
244 for _, def := range set {
245 if def == nil {
246 continue
247 }
248 if f, ok := def.(Finalizer); ok {
249 f.Finalize()
250 }
251 }
252}
253
254// caller returns the name of calling function.
255func caller() string {

Callers 1

RunDSLFunction · 0.85

Calls 1

FinalizeMethod · 0.65

Tested by

no test coverage detected