extypes

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package extypes includes appenv.Value implementations.

We can use them to define an option value with embedding like below.

type Start struct {
	types.TimeValue
}

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Path added in v0.0.12

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

func (*Path) MarshalText added in v0.0.12

func (p *Path) MarshalText() (text []byte, err error)

func (*Path) MarshalYAML added in v0.0.12

func (p *Path) MarshalYAML() (interface{}, error)

MarshalYAML implements the interface `yaml.Marshaler`

func (*Path) UnmarshalText added in v0.0.12

func (p *Path) UnmarshalText(text []byte) error

func (*Path) UnmarshalYAML added in v0.0.12

func (p *Path) UnmarshalYAML(unmarshal func(interface{}) error) error

UnmarshalYAML implements the interface `yaml.Unmarshaler`

func (*Path) Value added in v0.0.12

func (p *Path) Value() interface{}

type Paths

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

func (*Paths) MarshalText

func (p *Paths) MarshalText() (text []byte, err error)

func (*Paths) MarshalYAML

func (p *Paths) MarshalYAML() (interface{}, error)

MarshalYAML implements the interface `yaml.Marshaler`

func (*Paths) UnmarshalText

func (p *Paths) UnmarshalText(text []byte) error

func (*Paths) UnmarshalYAML

func (p *Paths) UnmarshalYAML(unmarshal func(interface{}) error) error

UnmarshalYAML implements the interface `yaml.Unmarshaler`

func (*Paths) Value

func (p *Paths) Value() interface{}

type TimeValue added in v0.1.0

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

func (*TimeValue) Default added in v0.1.0

func (o *TimeValue) Default() interface{}

func (*TimeValue) MarshalText added in v0.1.0

func (o *TimeValue) MarshalText() (text []byte, err error)

func (*TimeValue) UnmarshalText added in v0.1.0

func (o *TimeValue) UnmarshalText(text []byte) error

func (*TimeValue) Value added in v0.1.0

func (o *TimeValue) Value() interface{}

type URLValue added in v0.1.0

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

func (*URLValue) Default added in v0.1.0

func (o *URLValue) Default() interface{}

func (*URLValue) MarshalText added in v0.1.0

func (o *URLValue) MarshalText() (text []byte, err error)

func (*URLValue) UnmarshalText added in v0.1.0

func (o *URLValue) UnmarshalText(text []byte) error

func (*URLValue) Value added in v0.1.0

func (o *URLValue) Value() interface{}

Jump to

Keyboard shortcuts

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