First attempt to make vscode-go work
This commit is contained in:
parent
77e250bc6e
commit
adfce8d30e
4 changed files with 51 additions and 9 deletions
1
support/test/go/hello_world/.gitignore
vendored
Normal file
1
support/test/go/hello_world/.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
hello_world
|
||||
14
support/test/go/hello_world/.vimspector.json
Normal file
14
support/test/go/hello_world/.vimspector.json
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
"configurations": {
|
||||
"run": {
|
||||
"adapter": "vscode-go",
|
||||
"configuration": {
|
||||
"request": "launch",
|
||||
"program": "${workspaceRoot}/hello-world.go",
|
||||
"mode": "debug",
|
||||
"dlvToolPath": "$HOME/go/bin/dlv",
|
||||
"trace": true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
6
support/test/go/hello_world/hello-world.go
Normal file
6
support/test/go/hello_world/hello-world.go
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
package main
|
||||
import "fmt"
|
||||
func main() {
|
||||
var v = "test"
|
||||
fmt.Println("hello world: " + v)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue