Documentation ¶
Overview ¶
Package cueversion provides access to the version of the cuelang.org/go module.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LanguageVersion ¶ added in v0.9.0
func LanguageVersion() string
LanguageVersion returns the CUE language version. This determines the latest version of CUE that is accepted by the module.
func ModuleVersion ¶ added in v0.9.0
func ModuleVersion() string
ModuleVersion returns the version of the cuelang.org/go module as best as can reasonably be determined. This is provided for informational and debugging purposes and should not be used to predicate version-specific behavior.
func NewTransport ¶
func NewTransport(clientType string, next http.RoundTripper) http.RoundTripper
NewTransport returns an http.RoundTripper implementation that wraps next and adds a "User-Agent" header to every HTTP request containing the result of UserAgent(clientType). If next is nil, http.DefaultTransport will be used.
Types ¶
This section is empty.