Documentation
¶
Index ¶
- func All[T starlark.Iterable](v T) iter.Seq[starlark.Value]
- func Chdir(thread *starlark.Thread, wd string)
- func GetContext(thread *starlark.Thread) context.Context
- func Getwd(thread *starlark.Thread) string
- func Must(err error)
- func Must2[T any](v T, err error) T
- func SetContext(ctx context.Context, thread *starlark.Thread) (done func())
- func SetStdio(thread *starlark.Thread, stdout, stderr io.Writer)
- func Stdio(thread *starlark.Thread) (io.Writer, io.Writer)
- type StringList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetContext ¶ added in v0.2.5
Types ¶
type StringList ¶
type StringList []string
func (StringList) List ¶
func (l StringList) List() *starlark.List
Click to show internal directories.
Click to hide internal directories.