03nested

command
v0.0.0-...-73a1975 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 21, 2025 License: MIT Imports: 4 Imported by: 0

README

03nested/

go run 03nested/main.go --help || :
Usage of /tmp/go-build1880696983/b001/exe/main:
      --another-db.debug        ENV: ANOTHER_DB_DEBUG	-
      --another-db.uri string   ENV: ANOTHER_DB_URI	-
      --db.debug                ENV: DB_DEBUG	-
      --db.uri string           ENV: DB_URI	-
pflag: help requested
exit status 2


$ DB_URI=sqlite:///data.db go run 03nested/main.go --db.debug --another-db.uri sqlite:///:memory:
parsed
{
  "DB": {
    "URI": "sqlite:///data.db",
    "Debug": true
  },
  "AnotherDB": {
    "URI": "sqlite:///:memory:",
    "Debug": false
  }
}

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL