type github.com/prometheus/common/model.Duration
8 uses
github.com/prometheus/common/model (current package)
time.go#L170: type Duration time.Duration
time.go#L173: func (d *Duration) Set(s string) error {
time.go#L180: func (d *Duration) Type() string {
time.go#L188: func ParseDuration(durationStr string) (Duration, error) {
time.go#L215: return Duration(dur), nil
time.go#L218: func (d Duration) String() string {
time.go#L254: func (d Duration) MarshalYAML() (interface{}, error) {
time.go#L259: func (d *Duration) UnmarshalYAML(unmarshal func(interface{}) error) error {
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |