override2

package
v0.8.1 Latest Latest
Warning

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

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

Documentation

Overview

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

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

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MySubclass

type MySubclass interface {
	Override2

	GetFoo() string
}

type MySubclassImpl

type MySubclassImpl struct {
	*Override2Impl

	// Different doc comments
	Foo string `pkl:"foo"`
}

func (*MySubclassImpl) GetFoo

func (rcv *MySubclassImpl) GetFoo() string

Different doc comments

type Override2

type Override2 interface {
	GetFoo() string
}

func Load

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

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

func LoadFromPath

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

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

type Override2Impl

type Override2Impl struct {
	// Doc comments
	Foo string `pkl:"foo"`
}

func (*Override2Impl) GetFoo

func (rcv *Override2Impl) GetFoo() string

Doc comments

Jump to

Keyboard shortcuts

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