code: func ParseEnumValue(elems []string, number uint64) (Enum, error) {
  	if number == 0 || number > uint64(len(elems)) {
  		return Enum{}, errors.Errorf("number %d overflow enum boundary [1, %d]", number, len(elems))
  	}
  
  	return Enum{Name: elems[number-1], Value: number}, nil
  }
docs: // ParseEnumValue creates a Enum with special number.