Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Definition ¶
type Definition struct {
// contains filtered or unexported fields
}
Definition is a simple abstraction of a CUE definition to simplify management of each part of the definition
func StringToDef ¶
func StringToDef(def string) *Definition
StringToDef convert a string into definition. This function expect that def is correctly formatted.
func (*Definition) Def ¶
func (d *Definition) Def() string
func (*Definition) IsImported ¶
func (d *Definition) IsImported() bool
func (*Definition) Pkg ¶
func (d *Definition) Pkg() string
Click to show internal directories.
Click to hide internal directories.