aboutsummaryrefslogtreecommitdiffstats
path: root/_examples/config/main.go
diff options
context:
space:
mode:
Diffstat (limited to '_examples/config/main.go')
-rw-r--r--_examples/config/main.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/_examples/config/main.go b/_examples/config/main.go
index 22dc447..5fb8fba 100644
--- a/_examples/config/main.go
+++ b/_examples/config/main.go
@@ -45,6 +45,10 @@ func main() {
Info("origin remote: %+v", cfg.Remotes["origin"])
+ // NOTE: The examples below show advanced usage of the config.Merged system, which should
+ // only be used as a last resort if the basic data defined on the Config struct don't
+ // suffice for what you're trying to do.
+
// Set local custom config param
cfg.Merged.LocalConfig().AddOption("custom", format.NoSubsection, "name", "Local Name")