Skip to content

Latest commit

 

History

History

fixplurals

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

fixplurals Build Status Coverage Status GoDoc Go Report Card

fixplurals - remove redundant parameter and result types from function signatures


For example, the following function signature:

func fun(a string, b string) (c string, d string)

becomes:

func fun(a, b string) (c, d string)

after applying fixplurals.

Installation

% go get -u github.com/davidrjenni/reftools/cmd/fixplurals

Usage

% fixplurals [-dry] packages

Flags:

-dry: changes are printed to stdout instead of rewriting the source files