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

Function intFlag

internal/cmd/cmd.go:25–31  ·  view source on GitHub ↗

nolint:deadcode,unused

(name string, value int, usage string)

Source from the content-addressed store, hash-verified

23
24//nolint:deadcode,unused
25func intFlag(name string, value int, usage string) cli.IntFlag {
26 return cli.IntFlag{
27 Name: name,
28 Value: value,
29 Usage: usage,
30 }
31}
32
33//nolint:deadcode,unused
34func durationFlag(name string, value time.Duration, usage string) cli.DurationFlag {

Callers 1

cert.goFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected