Documentation ¶
Overview ¶
Code generated from Pkl module `ExtendModule`. DO NOT EDIT.
Code generated from Pkl module `ExtendModule`. DO NOT EDIT.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExtendModule ¶
type ExtendModule interface { openmodule.MyModule GetBar() string }
func Load ¶
func Load(ctx context.Context, evaluator pkl.Evaluator, source *pkl.ModuleSource) (ExtendModule, error)
Load loads the pkl module at the given source and evaluates it with the given evaluator into a ExtendModule
func LoadFromPath ¶
func LoadFromPath(ctx context.Context, path string) (ret ExtendModule, err error)
LoadFromPath loads the pkl module at the given path and evaluates it into a ExtendModule
type ExtendModuleImpl ¶
type ExtendModuleImpl struct { *openmodule.MyModuleImpl Bar string `pkl:"bar"` }
func (*ExtendModuleImpl) GetBar ¶
func (rcv *ExtendModuleImpl) GetBar() string
Click to show internal directories.
Click to hide internal directories.