Skip to content

Releases: Telefonica/govice

1.5

04 Oct 11:11
5e69bb1
Compare
Choose a tag to compare

Included following features:

  • Better support for custom contexts. It is introduced the interface govice.Context.
  • Two utilities: WriteJSON and Pipeline. See README.

1.4

23 Apr 16:12
Compare
Choose a tag to compare
1.4

Log msg without any formatting if args are not passed

1.3

04 Apr 08:25
Compare
Choose a tag to compare
1.3

Set/Get custom writer in logger

1.2

23 Mar 18:33
920ccb4
Compare
Choose a tag to compare
1.2

Log timestamp in RFC3339 format (with milliseconds). For example:

2017-11-13T08:01:51.335Z

1.1

19 Nov 20:23
a5aacd8
Compare
Choose a tag to compare
1.1
  • Convert WithMethodNotAllowed middleware into a variadic function.

1.0

13 Nov 22:12
Compare
Choose a tag to compare
1.0
  • Configuration. Read and marshal the configuration read from a JSON file into a struct, and override it with environment variables.
  • Validation. Validate your configuration and requests with JSON schemas.
  • Logging. Log in JSON format with custom context objects.
  • Middlewares. Some http.HandlerFunc middlewares (e.g. to log your requests and responses automatically).
  • Errors and alarms.