News for hackers. Stuff that matters.

galleywest

Microsoft DOES sell hardware. The Surface series anybody?
Re:Go 1.17 Release Notes on Monday August 16, 2021 @08:03PM (#28204487)
Are you using the imports in your file? The VS Code Go addon has "format on save" enabled by default and Go will not compile if there are unused imports - so VS Code deletes the unused imports on save by default.

Otherwise try a "go mod init" in the root of your project.