duration

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

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Duration

type Duration struct {
	Res1 *pkl.Duration `pkl:"res1"`

	Res2 *pkl.Duration `pkl:"res2"`

	Res3 *pkl.Duration `pkl:"res3"`

	Res4 *pkl.Duration `pkl:"res4"`

	Res5 *pkl.Duration `pkl:"res5"`

	Res6 *pkl.Duration `pkl:"res6"`

	Res7 *pkl.Duration `pkl:"res7"`

	Res8 pkl.DurationUnit `pkl:"res8"`
}

func Load

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

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

func LoadFromPath

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

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

Jump to

Keyboard shortcuts

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