defaults

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 17, 2018 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BoolDefault

type BoolDefault struct {
	// contains filtered or unexported fields
}

BoolDefault represents bool default value

func (*BoolDefault) Write

func (boolDefault *BoolDefault) Write() string

Write implementation

type FloatDefault

type FloatDefault struct {
	// contains filtered or unexported fields
}

FloatDefault represents float default value

func (*FloatDefault) Write

func (floatDefault *FloatDefault) Write() string

Write implementation

type IntDefault

type IntDefault struct {
	// contains filtered or unexported fields
}

IntDefault represents int default value

func (*IntDefault) Write

func (intDefault *IntDefault) Write() string

Write implementation

type PlainDefaults

type PlainDefaults interface {
	Write() string
}

PlainDefaults is an interface for default values

func CreatePlainDefaults

func CreatePlainDefaults(value interface{}) PlainDefaults

CreatePlainDefaults is a PlainDefaults factory

type StringDefault

type StringDefault struct {
	// contains filtered or unexported fields
}

StringDefault represents string default value

func (*StringDefault) Write

func (stringDefault *StringDefault) Write() string

Write implementation

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL