Documentation ¶
Overview ¶
Code generated from Pkl module `ModuleUsingLib`. DO NOT EDIT.
Code generated from Pkl module `ModuleUsingLib`. DO NOT EDIT.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ModuleUsingLib ¶
type ModuleUsingLib struct { Res []lib.MyClass `pkl:"res"` Res2 myenum.MyEnum `pkl:"res2"` Res3 string `pkl:"res3"` Res4 cities.Cities `pkl:"res4"` }
func Load ¶
func Load(ctx context.Context, evaluator pkl.Evaluator, source *pkl.ModuleSource) (*ModuleUsingLib, error)
Load loads the pkl module at the given source and evaluates it with the given evaluator into a ModuleUsingLib
func LoadFromPath ¶
func LoadFromPath(ctx context.Context, path string) (ret *ModuleUsingLib, err error)
LoadFromPath loads the pkl module at the given path and evaluates it into a ModuleUsingLib
Click to show internal directories.
Click to hide internal directories.