Documentation ¶
Index ¶
Constants ¶
View Source
const NIL = "nil"
Variables ¶
View Source
var ErrorCheck = "if err != nil {\nreturn vintage.NONE, err\n}"
Functions ¶
func DefaultValue ¶
func GoTypeString ¶
func UseFixedTemporalValue ¶
func UseFixedTemporalValue()
Types ¶
type Value ¶
type Value struct { Type VCLType Code string Prepare string Dependencies Packages Comment string Deprecated bool Matches string }
func (*Value) Conversion ¶
type ValueOption ¶
type ValueOption func(e *Value)
func Comment ¶
func Comment(c string) ValueOption
func Dependency ¶
func Dependency(pkg, alias string) ValueOption
func Deprecated ¶
func Deprecated() ValueOption
func FromValue ¶
func FromValue(v *Value) ValueOption
func Matches ¶
func Matches(m string) ValueOption
func Prepare ¶
func Prepare(preps ...string) ValueOption
Click to show internal directories.
Click to hide internal directories.