#Extend struct received from pkg or create new

2 messages · Page 1 of 1 (latest)

rich relic
#

I am getting a struct returned from a pkg (created by myself stored locally in repo). I need to retreive this struct in the main app and add some more properties to it. What is best practice for this? Should I just create a new struct copied from the original ?

leaden creek
#

Struct embedding