go-cleanarchitecture icon indicating copy to clipboard operation
go-cleanarchitecture copied to clipboard

An example Go application demonstrating The Clean Architecture.

Results 5 go-cleanarchitecture issues
Sort by recently updated
recently updated
newest added

Manuel thanks for writing this. This is just a small PR that updates the project to use go modules. I also ran goimports and updated the README.

Maybe it is better to transfer the interface `type OrderInteractor` from `webservice.go` to `usecases.go` package? According to this picture, this is the right decision: ![selection_004](https://user-images.githubusercontent.com/20016700/47955442-f0a66c00-dfa0-11e8-83f9-2856ed6ba159.png)

Hello good day, I am trying to understand your code sample about the clean architecture. but when reading your code i cant how you create a new domain.Item. my question...

I'd suggest parameterizing your SQL queries to prevent SQL injection instead of using fmt.Sprintf. Great example of clean architecture though.