enumer icon indicating copy to clipboard operation
enumer copied to clipboard

A Go tool to auto generate methods for your enums

Results 43 enumer issues
Sort by recently updated
recently updated
newest added

Hi @dmarkham While digging in the previous PR of the project I noticed that you had made [some work](https://github.com/dmarkham/enumer/pull/25) on BSON support back in 2019 but did not finish it....

Add support for DynamoDB AttributeValue Marshaller. https://pkg.go.dev/github.com/aws/aws-sdk-go-v2/feature/dynamodb/attributevalue

Cleaned up some commented out code, and ran golangci-lint, and fixed the errors. I also thought that `generate` function had a bit too many parameters, so I made a struct...

Hi! I have a use-case where I want to use enumer to map postgres enums with the `-sql` flag. There may be conflicts in my enums, hence I cannot declare...

I assume the imports are being generated by goimporting the file?

# Changes - Add `tostring` option, and generate `ToString` interface. # Why I sometimes want to convert an int item specified by enum to a string, e.g. to specify RESTFull...

The current functionality of enumer realizes Marshal/Unmarshal of json, text, and yaml with conversion to `string representation`, but add an option to accommodate cases where it is desired to use...

I propose enhancing enumer to allow specifying different transformation methods for different marshaling types. Our team currently implements custom GraphQL and JSON marshaling methods based on UPPER_SNAKE_CASE and snake_case representations,...

I sometimes want to convert an int item specified by enum to a string, e.g. to specify RESTFullAPI request parameters, etc. It would be nice to have an option to...