Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var NopCloser = star.Function{ FunctionName: "NopCloser", Args: []starlark.Value{io.Reader}, Returns: []starlark.Value{io.ReadCloser}, Call: func(args []interface{}) (resp []interface{}) { resp = make([]interface{}, 1) resp[0] = ioutil.NopCloser(args[0].(go_io.Reader)) return }, }
View Source
var ReadAll = star.Function{ FunctionName: "ReadAll", Args: []starlark.Value{io.Reader}, Returns: []starlark.Value{star.ByteArray{}, star.Error{}}, Call: func(args []interface{}) (resp []interface{}) { resp = make([]interface{}, 2) resp[0], resp[1] = ioutil.ReadAll(args[0].(go_io.Reader)) return }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.