cuemodule

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadPackage

func LoadPackage(pkgName string) (cue.Value, error)

LoadPackage loads a package from our Cue module. Packages are added to subdirectories and declared with the same name as the subdirectory.

func LoadPackageForTest

func LoadPackageForTest(pkgName string) (cue.Value, error)

LoadPackageForTest loads a package from our Cue module within a test context.

Types

type Loader

type Loader func(string) (cue.Value, error)

Loader loads a package from our CUE module.

Jump to

Keyboard shortcuts

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