Grokking Advanced Go
0% completed
API Design and Major Versions
When a Go module moves from v1.4.0 to v1.5.0, its author makes several promises to everyone who imports it, and declines to make others.
Promised:
- Code that compiled against v1.4.0 still compiles, with a few narrow exceptions described below.
- Exported names keep their meaning.
- The import path stays the same.
Not promised:
- That unexported names, or anything in
internal, stay the same. - That code which depends on undocumented behavior keeps working.
- That anything at all stays stable if the version starts with
v0.
.....
.....
.....
Like the course? Get enrolled and start learning!
Reading Progress
0%