add config example #3
@@ -48,6 +48,7 @@ linters:
|
|||||||
|
|
||||||
- ireturn
|
- ireturn
|
||||||
- exhaustruct
|
- exhaustruct
|
||||||
|
- gomoddirectives
|
||||||
|
|
||||||
issues:
|
issues:
|
||||||
# Excluding configuration per-path, per-linter, per-text and per-source
|
# Excluding configuration per-path, per-linter, per-text and per-source
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ const (
|
|||||||
AppName = "console"
|
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() {
|
func main() {
|
||||||
env := config.New(Namespace, AppName, []config.Provider{
|
env := config.New(Namespace, AppName, []config.Provider{
|
||||||
env.New(),
|
env.New(),
|
||||||
|
|||||||
Reference in New Issue
Block a user