extendopenclass

package
v0.5.0 Latest Latest
Warning

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

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

Documentation

Overview

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

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

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

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

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExtendingOpenClass

type ExtendingOpenClass struct {
	Res1 MyClass `pkl:"res1"`

	Res2 MyClass2 `pkl:"res2"`
}

func Load

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

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

func LoadFromPath

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

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

type MyClass

type MyClass interface {
	MyOpenClass

	GetMyBoolean() bool
}

type MyClass2

type MyClass2 interface {
	lib3.GoGoGo

	GetMyBoolean() bool
}

type MyClass2Impl

type MyClass2Impl struct {
	*lib3.GoGoGoImpl

	MyBoolean bool `pkl:"myBoolean"`
}

func (*MyClass2Impl) GetMyBoolean

func (rcv *MyClass2Impl) GetMyBoolean() bool

type MyClassImpl

type MyClassImpl struct {
	*MyOpenClassImpl

	MyBoolean bool `pkl:"myBoolean"`
}

func (*MyClassImpl) GetMyBoolean

func (rcv *MyClassImpl) GetMyBoolean() bool

type MyOpenClass

type MyOpenClass interface {
	GetMyStr() string
}

type MyOpenClassImpl

type MyOpenClassImpl struct {
	MyStr string `pkl:"myStr"`
}

func (*MyOpenClassImpl) GetMyStr

func (rcv *MyOpenClassImpl) GetMyStr() string

Jump to

Keyboard shortcuts

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