lib

package
v0.0.0-...-3a937ec Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2018 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CloneMap

func CloneMap(v map[string]string) (res map[string]string)

Clone flat map

func ParseHCL

func ParseHCL(readers ...io.Reader) (lists []*ast.ObjectList, err error)

func ParseHCLMerge

func ParseHCLMerge(readers ...io.Reader) (roots *ast.ObjectList, err error)

Types

type StaticBuffers

type StaticBuffers [][]byte

func (StaticBuffers) GetReaders

func (s StaticBuffers) GetReaders() (res []io.Reader)

Get readers for each buffer

func (*StaticBuffers) ReadFiles

func (s *StaticBuffers) ReadFiles(paths ...string) (err error)

Jump to

Keyboard shortcuts

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