Skip to content

Latest commit

 

History

History
40 lines (25 loc) · 826 Bytes

README.md

File metadata and controls

40 lines (25 loc) · 826 Bytes

technical-test-aichat

Clean Architecture

This project has 4 Domain layer :

  • Models Layer
  • Repository Layer
  • Usecase Layer
  • Delivery Layer

The diagram:

golang clean architecture

The explanation about this project's structure can read from this medium's post : https://medium.com/@imantumorang/golang-clean-archithecture-efd6d7c43047

How To Run This Project

#move to directory
cd $GOPATH/src/github.com/radyatamaa

# Clone into YOUR $GOPATH/src
git clone https://github.com/radyatamaa/technical-test-aichat.git

#move to project
cd technical-test-aichat

# Run app 
go run main.go

# Open at browser this url
http://localhost:8082/swagger/index.html

Swagger UI:

http://localhost:8082/swagger/index.html