04textvar

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: 5 Imported by: 0

README

04textvar/

go run 04textvar/main.go --help || :
Usage of textvar:
      --ip *net.IP   ENV: X_IP	-
      --ip2 net.IP   ENV: X_IP2	- (default 0.0.0.1)
pflag: help requested
exit status 2


$ go run 04textvar/main.go --ip 127.0.0.1
parsed: &main.Options{IP:(*net.IP)(0xc0000a6078), IP2:net.IP{0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xff, 0xff, 0x0, 0x0, 0x0, 0x1}}
-------------------------------------

$ json:
{
  "IP": "127.0.0.1",
  "IP2": "0.0.0.1"
}

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