/go-wire

Golang clean architecture with wire as dependency injection

Primary LanguageGo

Go Wire

Golang clean architecture with wire as dependency injection

Stack

  • Chi (net/http)
  • MongoDB

Run

Start the server using go run

  go run cmds/app/main.go

Start the server using air

  make run

Unit Test

Run Unit testing

  make test

Run Coverage

  make test/cover

Generate Wire

Run wire

  make wire