Documentation ¶
Index ¶
- func ExecForTest(name string, data string, fn Fn) (lib.StringDict, error)
- func GetCtx(thread *lib.Thread) context.Context
- func GetCurrentFilePath(thread *lib.Thread) string
- func GetDryRunMode(thread *lib.Thread) bool
- func NewThread(name string, options ...ThreadOption) *lib.Thread
- type Fn
- type LoadFn
- type ThreadOption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExecForTest ¶
func GetCurrentFilePath ¶
func GetDryRunMode ¶
Types ¶
type ThreadOption ¶
func WithContext ¶
func WithContext(ctx context.Context) ThreadOption
func WithDryRunMode ¶
func WithDryRunMode(dryrun bool) ThreadOption
func WithLoad ¶
func WithLoad(loadFn LoadFn) ThreadOption
Click to show internal directories.
Click to hide internal directories.