/go-bits

Tiny Go libraries that I keep copying between projects

Primary LanguageGoApache License 2.0Apache-2.0

go-bits

Some tiny pieces of Go code, extracted from their original applications for reusability. Each subdirectory is its own individual package. Feel free to add to this.

  • gopherpolicy integrates Gophercloud with goslo.policy, for OpenStack services that need to validate client tokens and check permissions.
  • logg adds some convenience functions to log.
  • respondwith contains some helper functions for generating responses in HTTP handlers.