-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathconfig_embed.go
More file actions
18 lines (16 loc) · 789 Bytes
/
Copy pathconfig_embed.go
File metadata and controls
18 lines (16 loc) · 789 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package ccusage
import _ "embed"
// DefaultConfigYAML is the sample configuration the trayapp materializes as
// config.yaml next to the executable on first run, when no config file is
// found anywhere in the search chain (see config.ResolveConfigPath). Users
// adjust settings — most notably the slack-activation profiles — by editing
// that copy; constructing a config from nothing would require reading the
// Go struct. The sample's active values must stay equivalent to the built-in
// defaults (pinned by config_sample_test.go), so materialization never
// changes behavior.
//
// Like prices.yaml, the file lives at the repo root because go:embed can
// only see files in the embedding package's own directory.
//
//go:embed config.sample.yaml
var DefaultConfigYAML []byte