structtags

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

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StructTags

type StructTags struct {
	Res string `pkl:"res" json:"res,omitempty"`

	Res2 string `pkl:"res2" json:"res2"`

	Res3 string `pkl:"res3" json:"-"`

	Res5 string `pkl:"res5" json:"myFoo5,omitempty"`

	Res6 string `pkl:"res6" json:"myFoo6"`

	Res7 string `pkl:"res7" yaml:",omitempty" bson:",omitempty"`

	Res8 string `pkl:"res8" yaml:"res8,omitempty" bson:"res8,omitempty"`

	Res9 string `pkl:"res9"`

	Res10 string `pkl:"res10"`

	Res11 string `pkl:"res11" json:"-,omitempty"`

	Res12 string `pkl:"res12" toml:"res12,multiline"`
}

func Load

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

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

func LoadFromPath

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

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

Jump to

Keyboard shortcuts

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