Documentation ¶
Overview ¶
Package flags defines flag types that can be used with the default flag package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Intlist ¶
Intlist defines a flag for a comma-separated list of integers. min and max restrict the size of the integer values. Call the returned function after flag.Parse to get the value.
func Monthlist ¶
Monthlist defines a flag for a comma-separated list of months. Valid values are between 1 and 12. Call the returned function after flag.Parse to get the value.
func Weekdaylist ¶
Weekdaylist defines a flag for a comma-separated list of week days. Valid values are mo, tu, we, th, fr, sa, su. Call the returned function after flag.Parse to get the value.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.