Help us shape the future of Go! Take the 2026 Go Developer Survey

defaultconfig

package
v0.4.29 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2026 License: MPL-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Config []byte

Config contains the embedded default configuration shipped in the binary — the baseline every zero-config user gets. The file is a verbatim copy of defaultConfig/.plumber.yaml, generated into place by a `cp` step in every build path (the Makefile `embed` target, the CI/release workflows, and the Dockerfile) immediately before `go build`. It is git-ignored.

The source is defaultConfig/.plumber.yaml, NOT the repo-root .plumber.yaml (which is Plumber's own self-scan config). The two are independent artifacts (getplumber/plumber#352): editing Plumber's self-scan config never silently changes the shipped default.

Functions

func Get

func Get() []byte

Get returns the embedded default configuration as a byte slice.

Types

This section is empty.

Jump to

Keyboard shortcuts

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