dmarkham / enumer

A Go tool to auto generate methods for your enums
Other
410 stars 66 forks source link

Bump golang.org/x/sys (Fixes Go 1.20.1 Issue: package "fmt" without types was imported) #76

Closed asherry99 closed 1 year ago

asherry99 commented 1 year ago

We recently updated to Go 1.20.1 and started encountering the following error:

enumer: internal error: package "fmt" without types was imported from "github.com/blah/blah"

Simulair to the pattern in PR https://github.com/dmarkham/enumer/pull/68 I've updated golang.org/x/sys and it is working now with go 1.20.1.

If this is the incorrect approach or another solution is desired let me know and I'm happy to help.

digitalcrab commented 1 year ago

@dmarkham hey ;) is there any chance to merge that?

arl commented 1 year ago

Any update on this?

suduaya commented 1 year ago

@dmarkham hey ;) is there any chance to merge that?

@dmarkham Yes please :wave:

dmarkham commented 1 year ago

Ok will have a look, asap, I'll need this also.

suduaya commented 1 year ago

+1

Thanks! Could you also please generate a new tag version? :clap: @dmarkham

arl commented 1 year ago

@suduaya there's one afaict, v1.5.8

suduaya commented 1 year ago

@suduaya there's one afaict, v1.5.8

Thanks! I was looking at releases instead :+1: