file

package
v0.18.9 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package file is a file source. Expected format is json

Index

Constants

This section is empty.

Variables

View Source
var (
	DefaultPath = "config.json"
)

Functions

func NewSource

func NewSource(opts ...source.Option) source.Source

func WithPath

func WithPath(p string) source.Option

WithPath sets the path to file

Types

This section is empty.

Jump to

Keyboard shortcuts

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