constant

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	App     = "pat"
	Version = "0.0.2"
)
View Source
const (
	Bash = "bash"
	Fish = "fish"
	Zsh  = "zsh"
)
View Source
const (
	LogsWrite = "logs.write"
	LogsLevel = "logs.level"
)
View Source
const (
	PrefixTemp  = App + "-temp-"
	PrefixCache = App + "-cache-"
)
View Source
const (
	BackupEnabled = "backup.enabled"
)
View Source
const (
	BashScriptPath = "bash.script_path"
)
View Source
const (
	ConfigFormat = "toml"
)
View Source
const (
	FishScriptPath = "fish.script_path"
)
View Source
const (
	ZshScriptPath = "zsh.script_path"
)

Variables

View Source
var ScriptTemplate = lo.Must(template.New("script").Parse(`{{ .Comment }} Generated by {{ .App }} {{ .Version }}
{{ .Comment }} https://github.com/metafates/{{ .App }}
{{ .Comment }} Do not edit this file manually, let {{ .App }} handle it for you :)

{{ .Script }}
`))

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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