This modifies the sampleconfig package to contain a single function named FileContents instead of a constant. This is being done because changing a constant is technically a major semver breaking change while changing the contents returned by a function is not and the goal is to ultimately make the root module semver compliant. |
||
|---|---|---|
| .. | ||
| doc.go | ||
| README.md | ||
| sampleconfig.go | ||
sampleconfig
Package sampleconfig provides a single function that returns the contents of the sample configuration file for dcrd. This is provided for tools that perform automatic configuration and would like to ensure the generated configuration file not only includes the specifically configured values, but also provides samples of other configuration options.
Installation and Updating
$ go get -u github.com/decred/dcrd/sampleconfig
License
Package sampleconfig is licensed under the copyfree ISC License.