3 ms·
What I would like to see: - Enun Types - A special operator to cut down on `if err != nil { return err }` and just return at that point. - Named arguments, a
by honkycat 5y ago
What I would like to see:
- Enun Types
- A special operator to cut down on `if err != nil { return err }` and just return at that point.
- Named arguments, and optional params with defaults
- Default values on structs
- ...macros? We already have `go generate ./...`
( edit: Removed unformatted source code )
- Jeff_Brown 5y agoSum types would satisfy the first two on that list, as well as making an ergonomic optional type trivial to define.