Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DisplayArray ¶
DisplayArray turn an array into a multi-line string containing its items
func GetBuildVersion ¶ added in v0.1.2
func GetBuildVersion() string
GetBuildVersion returns the CLI release version, or the latest git commit shorthash if the release could not be found (for local builds) Based on https://github.com/cue-lang/cue/issues/1697#issuecomment-1122097477
func SliceFilter ¶
SliceFilter returns slice of T for which F returned true
Types ¶
type ErrorWriter ¶
type ErrorWriter struct{}
ErrorWriter is an io.Writer interface which prints to os.Stderr in red
Click to show internal directories.
Click to hide internal directories.