import tea "charm.land/bubbletea/v2"
- The following also just works as you expected, but directly assumed wouldn't work: import github.com/charmbracelet/bubbletea
The only surprise here is that the repository authors decided to change the name of the module between v1 and v2 of the package. The git branch tagged v2 contains a module named 'charm.land/bubbletea', earlier v1 branches are named 'github.com/charmbracelet/bubbletea'. That's on them for breaking convention and surprising users, the go toolchain does not factor into, this beyond supporting versioning by naming convention. - Erlang and Elexir
- E
- AmbientTalk