file

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2020 License: MIT Imports: 6 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(options ...Option) scf4go.Reader

New .

Types

type Option

type Option func(reader *fileReader) error

Option .

func Dir

func Dir(path string, options ...scf4go.Option) Option

Dir reader dir files

func File

func File(path string, options ...scf4go.Option) Option

File reader single file

func JSON

func JSON(path string) Option

JSON load json file with path

func Yaml

func Yaml(path string) Option

Yaml load yaml file with path

Jump to

Keyboard shortcuts

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