Description
typenaming is a static analyzer that will prevent you from using the ugly “Type” suffix in type names.
Bad
type UserType struct {}
Good
type User struct {}
Install
go install github.com/typenaming/[email protected]
Usage
For whole directory
typenaming ./...
For certain file
typenaming main.go
It can also be integrated into golangci-lint