Releases: graze/golang-service
Releases · graze/golang-service
Recovery
Refactor
Small bit of refactoring to so that:
- The interface functions return the interface
- All the functions of the standard logger (https://golang.org/pkg/log/) are implemented in
log.<bla>
andFieldLogger
Yup, Valid!
Adds some validation routines to handle Json and Xml User input validation.
- Reads a
*http.Request
for xml/json content and populates a variable, then ensures that the variable is valid
Append
Tidy up
De-dupe
Less is More
Remove modifying the state of an existing logger (use context.Context
instead).
- Removes
.Add
and.Merge
from alog.Context
contextual
lintted
Structured Logs
- Adds structured logs using
logfmt
andjson
- Refactors some of the codebase