any

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 `any`. DO NOT EDIT.

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

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Any

type Any struct {
	Res1 any `pkl:"res1"`

	Res2 any `pkl:"res2"`

	Res3 any `pkl:"res3"`
}

func Load

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

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

func LoadFromPath

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

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

type Person

type Person struct {
	Name string `pkl:"name"`
}

Jump to

Keyboard shortcuts

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