Investigate Go 1.27's UUID package

Author: jamietannaCreated Aug 20, 2026Updated Sep 7, 2026
Labelsenhancement

It could be worthwhile to investigate an opt-in to using Go 1.27's inbuilt uuid package

I say that we need to investigate it, because I know there have been recent discussions about some gaps it has compared to Google's UUID package that we currently use.

At a later point - when we have it available - detecting the version of the go directive in the generated code would allow us to automagically use it if we're in a Go 1.27+ project

Source: oapi-codegen/oapi-codegen