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

Method CallBackIf

_examples/funcs/funcs.go:24–26  ·  view source on GitHub ↗
(i int, fun RecvFunc)

Source from the content-addressed store, hash-verified

22type RecvFunc func(fs *FunStruct, i int, v interface{})
23
24func (fs *FunStruct) CallBackIf(i int, fun RecvFunc) {
25 fun(fs, i, fs.FieldS)
26}
27
28func (fs *FunStruct) CallBackRval(i int, fun func(fs *FunStruct, i int, v interface{}) bool) {
29 rv := fun(fs, i, fs.FieldS)

Callers 1

test.pyFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected