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

Method CallBackRval

_examples/funcs/funcs.go:28–31  ·  view source on GitHub ↗
(i int, fun func(fs *FunStruct, i int, v interface{}) bool)

Source from the content-addressed store, hash-verified

26}
27
28func (fs *FunStruct) CallBackRval(i int, fun func(fs *FunStruct, i int, v interface{}) bool) {
29 rv := fun(fs, i, fs.FieldS)
30 fmt.Printf("got return value: %v\n", rv)
31}
32
33func (fs *FunStruct) OtherMeth(i int, s string) {
34 fs.FieldI = i

Callers 1

test.pyFile · 0.80

Calls 1

PrintfMethod · 0.80

Tested by

no test coverage detected