Rikudou_Sage@lemmings.world to Programmer Humor@programming.dev · 14 days agoI'm not sure, but it might be something about UUIDslemmings.worldimagemessage-square43fedilinkarrow-up1429arrow-down14
arrow-up1425arrow-down1imageI'm not sure, but it might be something about UUIDslemmings.worldRikudou_Sage@lemmings.world to Programmer Humor@programming.dev · 14 days agomessage-square43fedilink
minus-squareRikudou_Sage@lemmings.worldOPlinkfedilinkarrow-up3·14 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