Documentation ¶
Overview ¶
Package input 命令行的用户输入
Index ¶
- func Float64(prompt string, defaultVal float64, checkFn func(v float64) bool) float64
- func IP(prompt string, defaultValue net.IP, checkFn func(v net.IP) bool) net.IP
- func Int(prompt string, defaultVal int64, checkFn func(v int64) bool) int64
- func MAC(prompt string, defaultValue macaddr.MAC, checkFn func(v macaddr.MAC) bool) macaddr.MAC
- func String(prompt string, defaultVal string, checkFn func(v string) bool) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.