DEV Community

Discussion on: My Go Toolkit to Build a Frameworkless App

Collapse
 
ladydascalie profile image
Benjamin Cable • Edited

For anyone else reading this: do not use the satori/uuid package.

It has a number of very concerning flaws, with this one being the worst:

Please instead use: github.com/gofrs/uuid


Now on to the topic:

You want to build a Frameworkless App, but you use Gin, which is a framework. This is quite the incompatible premise, would you not say?

I would encourage using gorilla/mux for small niceties on top of the standard library, I personally think it's enough.

Gin introduces too much magic and special "Gin only" behaviour and I personally am not a fan of that.

Collapse
 
exadra37 profile image
Paulo Renato

You want to build a Frameworkless App, but you use Gin, which is a framework. This is quite the incompatible premise, would you not say?

I though exactly the same ;)

For anyone else reading this: do not use the satori/uuid package.
It has a number of very concerning flaws, with this one being the worst:

github.com/satori/go.uuid/issues/73

Please instead use: github.com/gofrs/uuid

Thanks for the security alert :)

Collapse
 
biros profile image
Boris Jamot ✊ /

Thanks for the security alert on using satori/go.uuid.

Regarding gin-gonic, I don't use it as a framework, but just as a router.