graniticio / granitic

Web/micro-services and IoC framework for Golang developers
https://granitic.io/
Apache License 2.0
35 stars 12 forks source link

Implement UUID version 4 in Granitic #21

Closed benhalstead closed 5 years ago

benhalstead commented 5 years ago

There are sufficient use cases for needed unique IDs within the framework that it would be useful to have an implementation of UUID made available as a facility in Granitic.

  1. Implement UUID v4
  2. Make functionality available as a facility
  3. Make a component (optional through configuration) that implements https://godoc.org/github.com/graniticio/granitic/facility/httpserver#IdentifiedRequestContextBuilder