golang-clean-architecture icon indicating copy to clipboard operation
golang-clean-architecture copied to clipboard

Go with Clean Architecture

Results 2 golang-clean-architecture issues
Sort by recently updated
recently updated
newest added
trafficstars

codes in `pkg` folder most use like a library .that othe people can import it from it . `internal` folder is **Private** application . also I agree with #7 ....

In the file `interface/repository/user_repository.go`, struct `userRepository` has a direct dependency on `gorm.DB` which is defined in the outer layer and hence it violates the clean architecture principle. ```go // interface/repository/user_repository.go...