Better HN
topnewbestaskshowjobs
Log inSign up

galleywest

-3 karma · joined Aug 17, 2021 (5y ago) · 2 submissions

Submissions

comment 5y ago · link · parent

Microsoft DOES sell hardware. The Surface series anybody?

comment 5y ago · link · parent

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.