types

package
v0.0.0-...-9d1a8af Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2019 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Array

type Array struct {
	Closed bool
	Elems  []Value
}

func (*Array) Interface

func (v *Array) Interface() []interface{}

func (*Array) TOMLValue

func (a *Array) TOMLValue()

func (*Array) TomlEnvironment

func (a *Array) TomlEnvironment()

func (*Array) Type

func (a *Array) Type() string

type Boolean

type Boolean bool

func (Boolean) TOMLValue

func (b Boolean) TOMLValue()

func (Boolean) Type

func (b Boolean) Type() string

type Datetime

type Datetime time.Time

func (Datetime) TOMLValue

func (d Datetime) TOMLValue()

func (Datetime) Type

func (d Datetime) Type() string

type Environment

type Environment interface {
	Value
	TomlEnvironment()
}

type Float

type Float float64

func (Float) TOMLValue

func (f Float) TOMLValue()

func (Float) Type

func (f Float) Type() string

type Integer

type Integer int64

func (Integer) TOMLValue

func (i Integer) TOMLValue()

func (Integer) Type

func (i Integer) Type() string

type String

type String string

func (String) TOMLValue

func (s String) TOMLValue()

func (String) Type

func (s String) Type() string

type Table

type Table struct {
	Implicit bool
	Elems    map[string]Value
}

func (*Table) Interface

func (t *Table) Interface() map[string]interface{}

func (*Table) TOMLValue

func (t *Table) TOMLValue()

func (*Table) TomlEnvironment

func (t *Table) TomlEnvironment()

func (*Table) Type

func (t *Table) Type() string

type Value

type Value interface {
	Type() string
	TOMLValue()
}

Jump to

Keyboard shortcuts

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