WIP: Data breakpoints (though can't find a server which supports them)

This commit is contained in:
Ben Jackson 2021-03-05 21:10:08 +00:00
commit c2353b388d
5 changed files with 108 additions and 0 deletions

View file

@ -1,6 +1,25 @@
package main
import "fmt"
type Toaster struct {
Power int
Colour string
}
type Test struct {
Test string
Toast Toaster
}
func main() {
var v = "test"
test := Test{
Test: "This is\na\ntest",
Toast: Toaster{
Power: 10,
Colour: "green",
},
}
fmt.Println("hello world: " + v)
fmt.Println("Hi " + test.Test)
}