Documentation
¶
Index ¶
- Constants
- func FieldPath(paths ...string) cue.Path
- func FillRaw(val cue.Value, x string, paths ...string) (cue.Value, error)
- func LookupValueByScript(val cue.Value, script string) (cue.Value, error)
- func SetValueByScript(base, v cue.Value, path ...string) (cue.Value, error)
- func UnmarshalTo(val cue.Value, x interface{}) error
Constants ¶
View Source
const DefaultPackageHeader = "package main\n"
DefaultPackageHeader describes the default package header for CUE files.
Variables ¶
This section is empty.
Functions ¶
func FillRaw ¶ added in v0.6.2
FillRaw unify the value with the cue format string x at the given path.
func LookupValueByScript ¶ added in v0.6.2
LookupValueByScript reports the value by cue script.
func SetValueByScript ¶ added in v0.6.2
SetValueByScript set the value v at the given script path. nolint:staticcheck
func UnmarshalTo ¶ added in v0.6.2
UnmarshalTo unmarshal value into golang object
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.