├── .gitignore ├── README.md ├── app.yaml ├── application ├── news.go └── topic.go ├── config.toml.example ├── config ├── database.go └── migrate.go ├── domain ├── news.go ├── repository │ ├── news.go │ └── topic.go └── topic.go ├── infrastructure └── persistence │ ├── news_repository.go │ └── topic_repository.go ├── interfaces ├── handler.go └── respond.go └── main.go /.gitignore: -------------------------------------------------------------------------------- 1 | config.toml -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoarianto/go-ddd-api/HEAD/README.md -------------------------------------------------------------------------------- /app.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoarianto/go-ddd-api/HEAD/app.yaml -------------------------------------------------------------------------------- /application/news.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoarianto/go-ddd-api/HEAD/application/news.go -------------------------------------------------------------------------------- /application/topic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoarianto/go-ddd-api/HEAD/application/topic.go -------------------------------------------------------------------------------- /config.toml.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoarianto/go-ddd-api/HEAD/config.toml.example -------------------------------------------------------------------------------- /config/database.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoarianto/go-ddd-api/HEAD/config/database.go -------------------------------------------------------------------------------- /config/migrate.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoarianto/go-ddd-api/HEAD/config/migrate.go -------------------------------------------------------------------------------- /domain/news.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoarianto/go-ddd-api/HEAD/domain/news.go -------------------------------------------------------------------------------- /domain/repository/news.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoarianto/go-ddd-api/HEAD/domain/repository/news.go -------------------------------------------------------------------------------- /domain/repository/topic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoarianto/go-ddd-api/HEAD/domain/repository/topic.go -------------------------------------------------------------------------------- /domain/topic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoarianto/go-ddd-api/HEAD/domain/topic.go -------------------------------------------------------------------------------- /infrastructure/persistence/news_repository.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoarianto/go-ddd-api/HEAD/infrastructure/persistence/news_repository.go -------------------------------------------------------------------------------- /infrastructure/persistence/topic_repository.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoarianto/go-ddd-api/HEAD/infrastructure/persistence/topic_repository.go -------------------------------------------------------------------------------- /interfaces/handler.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoarianto/go-ddd-api/HEAD/interfaces/handler.go -------------------------------------------------------------------------------- /interfaces/respond.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoarianto/go-ddd-api/HEAD/interfaces/respond.go -------------------------------------------------------------------------------- /main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoarianto/go-ddd-api/HEAD/main.go --------------------------------------------------------------------------------