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
- Host: GitHub
- URL: https://github.com/alex-leonhardt/go-passing-enums
- Owner: alex-leonhardt
- Created: 2019-10-13T12:47:56.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-10-13T12:51:53.000Z (over 6 years ago)
- Last Synced: 2025-06-04T05:06:54.884Z (12 months ago)
- Topics: constructor, enums, golang
- Language: Go
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# go-passing-enums
Using enums to pass ints instead of strings to constructors