(fs *flag.FlagSet)
| 23 | } |
| 24 | |
| 25 | func (f *Flags) SetFlags(fs *flag.FlagSet) { |
| 26 | fs.BoolVar(&f.showVersion, "version", false, "print version and exit") |
| 27 | fs.StringVar(&f.cpuprofile, "cpuprofile", "", "write cpu profile to given file name") |
| 28 | fs.StringVar(&f.memprofile, "memprofile", "", "write memory profile to given file name") |
| 29 | fs.StringVar(&f.trace, "trace", "", "write trace to given file name") |
| 30 | } |
| 31 | |
| 32 | type Initializer interface { |
| 33 | Init() error |
no outgoing calls
no test coverage detected