MCPcopy Index your code
hub / github.com/go-python/gopy / VariInterFaceFunc

Function VariInterFaceFunc

_examples/variadic/variadic.go:55–61  ·  view source on GitHub ↗
(vargs ...IntInterFace)

Source from the content-addressed store, hash-verified

53}
54
55func VariInterFaceFunc(vargs ...IntInterFace) int {
56 total := 0
57 for _, inst := range vargs {
58 total += inst.Number()
59 }
60 return total
61}

Callers

nothing calls this directly

Calls 1

NumberMethod · 0.65

Tested by

no test coverage detected