getting deeper with slices, empty slice vs nil slice | len() and cap() etc..

This commit is contained in:
2026-09-09 00:15:16 -04:00
parent 662e044c2c
commit dd7e213077
6 changed files with 40 additions and 1 deletions
+4
View File
@@ -0,0 +1,4 @@
Root cause:
- ~/.local/share/nvim/mason/bin/gopls:1 reported expected 'package', found 'EOF' on any empty *.go (/tmp/empty.go:1:1). Valid files now show 0 diagnostics.
- ~/gitclone/letsGO/*/go.mod:1 had invalid/mixed modules (main, main.go, hello v1.23.1-1.26.5) and no go.work — gopls couldn't resolve workspace.
- ~/.config/nvim/lua/plugins/go.lua:8 used wrong plugin name "mason.nvim" (should be "mason-org/mason.nvim"), so ensure_installed never ran.