This package was inspired in gizmo from The New York Times and it offer a simple way to build your microservices with no external dependencies in Go.
go get github.com/opentogo/togo
It implements the Apache combined log format with application name as prefix.
[togo-example-service] Running at :3000
[togo-example-service] ::1 - - [10/Oct/2019:17:19:14 +0000] "GET /svc/togo HTTP/1.1" 404 19 "-" "curl/7.54.0" 0.0000
[togo-example-service] ::1 - - [10/Oct/2019:17:19:21 +0000] "GET /svc/togo/cats HTTP/1.1" 200 39 "-" "curl/7.54.0" 0.0001
- rogeriozambon Rogério Zambon - creator, maintainer