Is It possible to define methods of structure outside its package.
1 Like
No you can’t. But you can use alias or composition pattern to extend the struct behaviours.
2 Likes
Thank you so much
1 Like
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.