Original post

Hello guys, I have some misunderstanding regarding creation of packages. For example, if I would like to create some kind of package which would expose some structs where should i create it, inside src/<packageName>, do i need to mod it, do i need to do anything after that to be able to import that package inside some other projects. I find it very confusing and I would like if someone could clear up my mind.

Recently I started learning go and learned that I should create my packages inside src/ then after that I could not get it to work prolly due to being updated and could not find suitable resources to guide me.

submitted by /u/CortexDaemon
[link] [comments]