Skip to content

typenaming is a static analyzer that will prevent you from using the ugly "Type" suffix in type names in Go

License

Notifications You must be signed in to change notification settings

armantarkhanian/typenaming

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

typenaming is a static analyzer that will prevent you from using the ugly "Type" suffix in type names.

It's written for educational purposes.

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

About

typenaming is a static analyzer that will prevent you from using the ugly "Type" suffix in type names in Go

Topics

Resources

License

Stars

Watchers

Forks

Languages