1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
struct St { mut: a int } fn (mut a St) change() { a.a++ } fn main() { mut x := St{ a: 0 } go x.change() }