parsers

package
v0.1.1-alpha Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DotenvStrategy

type DotenvStrategy struct {
}

DotenvStrategy parses yaml and json files

func (*DotenvStrategy) Parse

func (s *DotenvStrategy) Parse(data []byte) (map[string]interface{}, error)

Parse of DotenvStrategy parses yaml and json files into Parsing result

type ParsingStrategy

type ParsingStrategy interface {
	Parse(data []byte) (map[string]interface{}, error)
}

ParsingStrategy interface

type TomlStrategy

type TomlStrategy struct {
}

TomlStrategy parses yaml and json files

func (*TomlStrategy) Parse

func (s *TomlStrategy) Parse(data []byte) (map[string]interface{}, error)

Parse of TomlStrategy parses yaml and json files into Parsing result

type YamlStrategy

type YamlStrategy struct {
}

YamlStrategy parses yaml and json files

func (*YamlStrategy) Parse

func (s *YamlStrategy) Parse(data []byte) (map[string]interface{}, error)

Parse of YamlStrategy parses yaml and json files into Parsing result

Jump to

Keyboard shortcuts

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