Hi Guys, I would like to share my first contribution to the golang community by creating a command line that generates a domain driven folder structure, I think this would be a great help for those who are not able to decide their folder structure when creating. I just got lazy by my own API creation copy pasting so I decided to create a command for it. It is simple only two flags, “init” and “-d”
init is to initialize folder structure
-d is to generate domain folder inside it consists of
handler.go
service.go
repository.go
types.go
domain_test.go
go install github.com/XaiPhyr/rdev-go-ddgen@v1.0.1
its a bit long when typing but hopefully it helps, Thank you very much guys. I’m just happy to finally contribute to the community, it may not be much but its my first step.