add config example #3
@@ -48,6 +48,7 @@ linters:
|
||||
|
||||
- ireturn
|
||||
- exhaustruct
|
||||
- gomoddirectives
|
||||
|
||||
issues:
|
||||
# Excluding configuration per-path, per-linter, per-text and per-source
|
||||
|
||||
@@ -16,7 +16,7 @@ const (
|
||||
AppName = "console"
|
||||
)
|
||||
|
||||
// FDEVS_CONSOLE_CAT=env go run cmd/config/main.go fdevs:console:arg -b tmp
|
||||
// FDEVS_CONSOLE_CAT=env go run cmd/config/main.go fdevs:console:arg -b tmp.
|
||||
func main() {
|
||||
env := config.New(Namespace, AppName, []config.Provider{
|
||||
env.New(),
|
||||
|
||||
Reference in New Issue
Block a user