WIP: Data breakpoints (though can't find a server which supports them)
This commit is contained in:
parent
32360236ff
commit
c2353b388d
5 changed files with 108 additions and 0 deletions
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue