Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Call ¶
Call calls a function named funcName in the given package pkg with the provided parameters values. It returns the results of the function call and an error if any occurred during the call.
func RegisterPackage ¶
RegisterPackage registers an external package with its symbols for use within gi-executed code.
Types ¶
type Package ¶
Package represents a Go package loaded and parsed by the gi library.
func ParseSource ¶
ParseSource parses the provided Go source code string and returns a Package representation of it. The source must be valid Go, e.g. main package with a main function. It cannot have external dependencies ; only standard library packages are allowed.
Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
genstdlib
command
|
|
|
gi
command
|
|
|
gidebug
command
|
|
|
jit
command
|
|
|
listpkgs
command
|
|
|
treerunner
command
|
|
|
examples
|
|
|
api_call
command
|
|
|
nestedloop
command
|
|
|
pointers
command
|
|
|
remoting
command
|
|
|
Code generated by cmd/genstdlib/main.go; DO NOT EDIT.
|
Code generated by cmd/genstdlib/main.go; DO NOT EDIT. |
|
perftests/tengobench
command
|
|
|
perftests/walkprofile
command
|
|
|
testexamples/stackonpanic
command
|
Click to show internal directories.
Click to hide internal directories.
