sqs / goreturns

A gofmt/goimports-like tool for Go programmers that fills in Go return statements with zero values to match the func return types
Other
530 stars 55 forks source link

Support type aliases #36

Open dallbee opened 7 years ago

dallbee commented 7 years ago

Go 1.9 adds type aliases in the form of:

type a = b

This will cause goreturns to break: application.go:25:14: expected type, found '='