2 ms·
Basically, the link would be the language spec. Go's structs are "value types". Until you deliberately take a pointer or access them through an interface, they'
by jerf 10y ago
Basically, the link would be the language spec. Go's structs are "value types". Until you deliberately take a pointer or access them through an interface, they're just structs, like C. It also has real arrays.
In many ways, Go is like a scripting language, but it does let you do some systems-like things in a way that Python or Perl or the other similar languages completely don't.