Documentation ¶
Overview ¶
Code generated from Pkl module `ModuleType`. DO NOT EDIT.
Code generated from Pkl module `ModuleType`. DO NOT EDIT.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ModuleType ¶
type ModuleType struct { MyStr string `pkl:"myStr"` Foo *ModuleType `pkl:"foo"` Lib *lib4.MyLib4 `pkl:"lib"` FooAgain *ModuleType `pkl:"fooAgain"` }
func Load ¶
func Load(ctx context.Context, evaluator pkl.Evaluator, source *pkl.ModuleSource) (*ModuleType, error)
Load loads the pkl module at the given source and evaluates it with the given evaluator into a ModuleType
func LoadFromPath ¶
func LoadFromPath(ctx context.Context, path string) (ret *ModuleType, err error)
LoadFromPath loads the pkl module at the given path and evaluates it into a ModuleType
Click to show internal directories.
Click to hide internal directories.