An open API service indexing awesome lists of open source software.

https://github.com/alex-leonhardt/go-passing-enums

go - avoid passing strings to constructors
https://github.com/alex-leonhardt/go-passing-enums

constructor enums golang

Last synced: 11 months ago
JSON representation

go - avoid passing strings to constructors

Awesome Lists containing this project

README

          

# go-passing-enums

Using enums to pass ints instead of strings to constructors