config

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2022 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	LogLevel    string `default:"info" usage:"Log level: panic, fatal, error, warn, info, debug, trace"`
	S           string `default:"" usage:"Source path"`
	D           string `default:"" usage:"Destination path"`
	Source      string `default:"" usage:"Source path"`
	Destination string `default:"" usage:"Destination path"`
	Layout      string `default:"2006-01-02" usage:"Datetime layout"`
}

func New

func New() *Config

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳