Skip to content

geusan/go-clean-arch-chat-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chat server

Chat server with go clean arch

Libraries

  • echo server
  • ORM: gorm
  • Docs: swagger
  • testing: mockery
  • Socket: gorilla socket

Commands

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

TO DO

  • Add middleware tests
  • Make some class for Exception and DTO

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published