[go-nuts] Re: folder and package structure with ddd based micro services

2016-10-31 Thread Henry
Hi, I usually use the following project structure: ui service >>domain 1 >>domain 2 business (or domain) >>domain 1 >>domain 2 data (or infrastructure) >>domain 1 >>domain 2 utilities >>domain 3 >>domain 4 So they are separated by domain, rather than aggregates. My friend prefers the following

[go-nuts] Re: folder and package structure with ddd based micro services

2016-10-31 Thread Diego Medina
Hi, > How can i run my tests "go test" for my entire domain model is they are > in sub folders? > If I understood your question, what you are looking for is to run go test ./... at the root, that will run tests at the root but also tests in the subfolders Regards, Diego > > applica