View definition

(*FlagSet).DurationVar

Defined in github.com/golang/go/src/flag/flag.go

Description

DurationVar defines a time.Duration flag with specified name, default value, and usage string. The argument p points to a time.Duration variable in which to store the value of the flag. The flag accepts a value acceptable to time.ParseDuration.