Go: Aliases, Simple and Efficient

Vincent Blanchon
A Journey With Go
Published in
3 min readApr 13, 2020

Illustration created for “A Journey With Go”, made from the original Go Gopher, created by Renee French.

ℹ️ This article is based on Go 1.13.

The aliases have been brought by Go 1.9 and allow developers to provide an alternate name for an existing type. This feature aims to facilitate the refactoring of large codebases, making it crucial for large projects.

Aliases have been implemented after several months of consideration on the best way to bring aliases to Go language. A first