reader

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2018 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadAll

func ReadAll(filename, restricted string) ([]map[interface{}]interface{}, error)

ReadAll gets a list of maps describing schemas from files contained within given file except that restricted name args:

filename string - path to file containing paths to schemas
restricted - path to a file from which schemas should not be read

return:

  1. list of maps of schemas
  2. error during execution

func ReadSingle

func ReadSingle(filename string) ([]map[interface{}]interface{}, error)

ReadSingle gets a list of maps describing schemas from a file

Types

This section is empty.

Jump to

Keyboard shortcuts

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