enumer icon indicating copy to clipboard operation
enumer copied to clipboard

Add ability to parse nil value as empty string

Open myrtleTree33 opened this issue 4 years ago • 0 comments

Given the following:

type ColorType int

const (
  RED ColorType = iota
  GREEN
  BLUE
  NIL
)

I would like to set the value of NIL to be an empty string. Is this possible?

myrtleTree33 avatar Nov 05 '21 06:11 myrtleTree33