Rikudou_SageA to Programmer Humor@programming.dev · 3 days agoI'm not sure, but it might be something about UUIDsimagemessage-square39linkfedilinkarrow-up1426arrow-down14
arrow-up1422arrow-down1imageI'm not sure, but it might be something about UUIDsRikudou_SageA to Programmer Humor@programming.dev · 3 days agomessage-square39linkfedilink
minus-squareRikudou_SageOPAlinkfedilinkarrow-up3·3 days agoThe first UUID is a local type, the second is the name of an embedded struct, the third is the name of the variable. The struct looks something like this (writing this on my phone) type UUID struct { uuid.UUID } So, basically, this is a custom wrapper for a third party UUID implementation.
The first UUID is a local type, the second is the name of an embedded struct, the third is the name of the variable.
The struct looks something like this (writing this on my phone)
type UUID struct { uuid.UUID }
So, basically, this is a custom wrapper for a third party UUID implementation.
Ahh, that makes sense then