How do I define ENUM to achieve this?
- The text in name is in lower case
- Int values in enumeration are case sensitive
const(
xxxDataSwap = iota
xxxBootNode
)
__Name="dataswapbootnode"
Also, can I ignore Parse's error like this:
ParseXXX(name)Type{
//return a default value
}