Documentation ¶
Overview ¶
Package test1 is a test package.
Index ¶
- func BuiltinAppend(x []byte) []byte
- func BuiltinChan() chan int
- func BuiltinClosure(x int) func()
- func BuiltinMakeSlice(x int) []byte
- func BuiltinMap(x int) map[string]bool
- func Dispatch(i Interface)
- func Dynamic(f func())
- func InterfaceFunction(i Interface)
- func Split()
- func TypeFunction(t *Type)
- type Interface
- type Type
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuiltinAppend ¶
BuiltinAppend calls append on a slice. +mustescape:local,builtin
func BuiltinChan ¶
func BuiltinChan() chan int
BuiltinChan makes a channel. +mustescape:local,builtin
func BuiltinClosure ¶
func BuiltinClosure(x int) func()
BuiltinClosure returns a closure around x. +mustescape:local,builtin
func BuiltinMakeSlice ¶
BuiltinMakeSlice makes a new slice. +mustescape:local,builtin
func BuiltinMap ¶
BuiltinMap creates a new map. +mustescape:local,builtin
func Dispatch ¶
func Dispatch(i Interface)
Dispatch dispatches via an interface. +mustescape:local,interface
func InterfaceFunction ¶
func InterfaceFunction(i Interface)
InterfaceFunction is passed an interface argument. +checkescape:all,hard
func TypeFunction ¶
func TypeFunction(t *Type)
TypeFunction is passed a concrete pointer argument. +checkesacape:all,hard
Types ¶
Click to show internal directories.
Click to hide internal directories.