Go Interop
You can use go {} blocks everywhere as an expression
use go "fmt";
fn main() {
go {
fmt.Println("hello from go")
}
const a = go { $ = 3 } as Int; // You can set the duck variable by using $ inside go
const go_uint: go "uint" = go { $ = uint(30) } as go "uint"; // Use go "..." inside type expression to use go types
go {
fmt.Println("go_uint: ", go_uint)
fmt.Println("a: ", a)
}
}