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.
Click to show internal directories.
Click to hide internal directories.