pkger

package
v0.2.7 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2019 License: MIT Imports: 6 Imported by: 0

README

pkger

pkger plugin for go-config

Prerequisites

Install pkger cli

go install github.com/markbates/pkger/cmd/pkger
pkger -h
Packager

generating pkged.go with all files in /config for production build

pkger -o srv/greeter -include /config
# (or)
make make pkger-greeter
# (or)
make pkger

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DefaultPath = "/config.yaml"
)

Functions

func NewSource

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

func WithPath

func WithPath(p string) source.Option

WithPath sets the path to pkger

Types

This section is empty.

Jump to

Keyboard shortcuts

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