type foldingRanges … func (r *foldingRanges) Name() string { … } func (r *foldingRanges) Parent() string { … } func (r *foldingRanges) Usage() string { … } func (r *foldingRanges) ShortHelp() string { … } func (r *foldingRanges) DetailedHelp(f *flag.FlagSet) { … } func (r *foldingRanges) Run(ctx context.Context, args ...string) error { … }