values

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultTimestampFormat = "2006-01-02 15:04:05"

DefaultTimestampFormat ...

Functions

This section is empty.

Types

type EnumListValue added in v0.1.1

type EnumListValue struct {
	Enum       []string
	Default    []string
	AllowEmpty bool
	// contains filtered or unexported fields
}

EnumListValue ...

func (EnumListValue) Parse added in v0.1.1

func (e EnumListValue) Parse(value string) []string

Parse ...

func (*EnumListValue) Set added in v0.1.1

func (e *EnumListValue) Set(value string) error

Set ...

func (EnumListValue) String added in v0.1.1

func (e EnumListValue) String() string

type EnumValue

type EnumValue struct {
	Enum      []string
	Default   string
	AllowNone bool
	// contains filtered or unexported fields
}

EnumValue ...

func (*EnumValue) Set

func (e *EnumValue) Set(value string) error

Set ...

func (EnumValue) String

func (e EnumValue) String() string

type TimestampValue

type TimestampValue struct {
	Format  *string
	Default time.Time
	// contains filtered or unexported fields
}

TimestampValue ...

func (*TimestampValue) Set

func (ts *TimestampValue) Set(value string) error

Set ...

func (TimestampValue) String

func (ts TimestampValue) String() string

Jump to

Keyboard shortcuts

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