Comment Comment by metrognome Just to note, for this specific example, Go supports this with type definitions: // UserID and PostID are distinct types type UserID int type PostID int parent metrognome 6 years ago