Commit | Line | Data |
---|---|---|
a766d390 DE |
1 | package main |
2 | ||
3 | import "fmt" | |
4 | ||
5 | var myst = "Shall we?" | |
6 | ||
7 | func main () { | |
04ff1e61 | 8 | fmt.Println ("Before assignment") |
a766d390 | 9 | st := "Hello, world!" // this intentionally shadows the global "st" |
04ff1e61 AA |
10 | fmt.Println (st) // set breakpoint 1 here |
11 | fmt.Println (myst) | |
a766d390 | 12 | } |