Anonymous records (structures, structs, recs) #294
emil14
started this conversation in
Type System
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I was writing this go code and just thought it would be nice to say
testUser1 = {...}
and then use it in place. Go doesn't allow this easily (note that Go at least allows this compared to Nevalang now). I Think Zig also allows this and probably more easily than GoBeta Was this translation helpful? Give feedback.
All reactions