package cmdconfig
Import Path
golang.org/x/pkgsite/cmd/internal/cmdconfig (on go.dev)
Dependency Relation
imports 15 packages, and imported by 2 packages
Involved Source Files
Package cmdconfig contains functions for configuring commands.
Package-Level Functions (total 5, all are exported)
Experimenter configures a middleware.Experimenter.
ExperimentGetter returns an ExperimentGetter using the config.
Logger configures a middleware.Logger.
OpenDB opens the postgres database specified by the config.
It first tries the main connection info (DBConnInfo), and if that fails, it uses backup
connection info it if exists (DBSecondaryConnInfo).
ReportingClient configures an Error Reporting client.
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |