files

package
v0.0.0-...-2dbaee4 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CapableFormat

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

func (CapableFormat) IsCapable

func (cf CapableFormat) IsCapable(filename string) bool

type JSONFormat

type JSONFormat struct {
	CapableFormat
}

func NewJSONFormatUnmarshaler

func NewJSONFormatUnmarshaler() *JSONFormat

func (*JSONFormat) Unmarshal

func (js *JSONFormat) Unmarshal(source []byte, configuration interface{}) error

type TOMLFormat

type TOMLFormat struct {
	CapableFormat
}

func NewTOMLFormatUnmarshaler

func NewTOMLFormatUnmarshaler() *TOMLFormat

func (*TOMLFormat) Unmarshal

func (tf *TOMLFormat) Unmarshal(source []byte, configuration interface{}) error

type Unmarshaler

type Unmarshaler interface {
	IsCapable(filename string) bool
	Unmarshal(source []byte, configuration interface{}) error
}

type YAMLFormat

type YAMLFormat struct {
	CapableFormat
}

func NewYAMLFormatUnmarshaler

func NewYAMLFormatUnmarshaler() *YAMLFormat

func (*YAMLFormat) Unmarshal

func (yf *YAMLFormat) Unmarshal(source []byte, configuration interface{}) error

Jump to

Keyboard shortcuts

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