I'm creating a REST API, and I've separated each resource into it's own package. I've got a User and a Group package. There is a many to many relationship between the two resources. So I need User imported into the Group and Group imported to the User. Since both structs need them as fields.
My question is, should I create another package and import both and then import that package into each of these packages?
Or does it make more sense to combine these two packages into one in go lang?