lib

package
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 11, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Code generated from Pkl module `lib`. DO NOT EDIT.

Code generated from Pkl module `lib`. DO NOT EDIT.

Code generated from Pkl module `lib`. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Lib

type Lib struct {
}

func Load

func Load(ctx context.Context, evaluator pkl.Evaluator, source *pkl.ModuleSource) (*Lib, error)

Load loads the pkl module at the given source and evaluates it with the given evaluator into a Lib

func LoadFromPath

func LoadFromPath(ctx context.Context, path string) (ret *Lib, err error)

LoadFromPath loads the pkl module at the given path and evaluates it into a Lib

type MyClass

type MyClass interface {
	GetThing() string
}

type MyClassImpl

type MyClassImpl struct {
	Thing string `pkl:"thing"`
}

func (*MyClassImpl) GetThing

func (rcv *MyClassImpl) GetThing() string

Directories

Path Synopsis
Code generated from Pkl module `lib`.
Code generated from Pkl module `lib`.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL