code: func ToUint(value interface{}) uint64 {
  	if result := ToString(value); result == "" {
  		return 0
  	} else if i, err := strconv.ParseUint(result, 10, 64); err == nil {
  		return i
  	} else {
  		panic("failed to parse uint: " + result)
  	}
  }
docs: // ToUint get uint from value, if passed value is empty string, result will be 0