MCPcopy Create free account
hub / github.com/goplus/py / Py_bar

Method Py_bar

gomodule_test.go:13–22  ·  view source on GitHub ↗
(args *Tuple)

Source from the content-addressed store, hash-verified

11}
12
13func (r *FooModule) Py_bar(args *Tuple) (ret *Base, err error) {
14 var i int
15 var s []string
16 err = ParseV(args, &i, &s)
17 if err != nil {
18 return
19 }
20 fmt.Println("call foo.bar:", i, s)
21 return IncNone(), nil
22}
23
24// ------------------------------------------------------------------------------------------
25

Callers

nothing calls this directly

Calls 2

ParseVFunction · 0.85
IncNoneFunction · 0.85

Tested by

no test coverage detected