Go seems to be able to print structs and arrays directly.
struct MyStruct {
a: i32,
b: i32
}
and
let arr: [i32; 10] = [1; 10];
See Question&Answers more detail:osGo seems to be able to print structs and arrays directly.
struct MyStruct {
a: i32,
b: i32
}
and
let arr: [i32; 10] = [1; 10];
See Question&Answers more detail:os