Chat server with go clean arch
- echo server
- ORM: gorm
- Docs: swagger
- testing: mockery
- Socket: gorilla socket
Swag
# swag (Threre is an issue finding gorm.Model dependency)
swag init --parseDependency --parseInternal
# connect http://localhost:8000/swagger/index.html
Mockery
# Create all of mocks (If i comment with mockery)
go generate ./...
DB
# TODO: migration manager(HOW TO?)
go run cli/migration.go
- Add middleware tests
- Make some class for Exception and DTO