go-memdev
go-memdev copied to clipboard
index out of range
running example code https://github.com/bitcav/go-memdev#usage on windows virtual machine
Run go run main.go
go run main.go
shell: C:\Program Files\PowerShell\7\pwsh.EXE -command ". '{0}'"
env:
GOOS: windows
GOARCH: amd64
panic: runtime error: index out of range [3] with length 3
goroutine 1 [running]:
github.com/bitcav/go-memdev.Info()
C:/Users/runneradmin/go/pkg/mod/github.com/bitcav/[email protected]/memdev.go:71 +0x8c[6]
main.main()
D:/a/win_test/win_test/main.go:[10]
exit status 2