gobuffalo / genny

A framework for writing modular generators
MIT License
65 stars 14 forks source link

Remove dependancy on markbates/safe which is calling for go 1.22 #55

Open mfox-imprint opened 8 months ago

mfox-imprint commented 8 months ago

The issue here: https://github.com/markbates/safe/issues/1 shows the problem, this tiny dependency is calling for go 1.22 but not actually using go 1.22 features, which is pulling go 1.22 as a transitive compile requirement. This is not great for a monorepo that has things not ready to move to 1.22.

First recommendation: remove this dep. It's a couple lines of go code.

Alternative recommendation: wait for this author to fix this issue and then depend on that version that doesn't have an unnecessary dependency on a bleeding edge version of the language