go-backend icon indicating copy to clipboard operation
go-backend copied to clipboard

Scaffolding, Boilerplate with clean Architecture :facepunch: , Testable :facepunch: for build backend in pure Go. Build backend service without framework

Go Backend

Ngapak :blue_heart: Golang

Build Status codecov License: MIT

Scaffolding, Boilerplate with Clean Architecture :facepunch:, Testable :facepunch:, for Build backend in pure Go. Base on Uncle Bob's awesome post https://8thlight.com/blog/uncle-bob/2012/08/13/the-clean-architecture.html

This is What you need,,,,

  • Golang version 1.10+
  • Go Coverage Merge; click https://github.com/bookerzzz/gocovmerge

Test

  • Mocking

    • we use https://github.com/vektra/mockery
        $ go get github.com/vektra/mockery
      
    • and mock some interface
      $ mockery -name=InterfaceName
      
  • Unit test

    $ make test
    

Code Coverage

$ make cover

Format Code

$ make format

Authors

  • Lone Wolf https://github.com/wuriyanto48

Purwokerto Dev 2017 :droplet: