After reading notes from Peter's talk I like the idea of using a config object where consumers of the library can override the defaults. https://peter.bourgon.org/go-best-practices-2016/#configuration |
||
|---|---|---|
| .. | ||
| main.go | ||
After reading notes from Peter's talk I like the idea of using a config object where consumers of the library can override the defaults. https://peter.bourgon.org/go-best-practices-2016/#configuration |
||
|---|---|---|
| .. | ||
| main.go | ||