MCPcopy Create free account
hub / github.com/gogs/gogs / durationFlag

Function durationFlag

internal/cmd/cmd.go:34–40  ·  view source on GitHub ↗

nolint:deadcode,unused

(name string, value time.Duration, usage string)

Source from the content-addressed store, hash-verified

32
33//nolint:deadcode,unused
34func durationFlag(name string, value time.Duration, usage string) cli.DurationFlag {
35 return cli.DurationFlag{
36 Name: name,
37 Value: value,
38 Usage: usage,
39 }
40}

Callers 1

cert.goFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected