code: func ConvertType(args ...interface{}) string {
  	t := args[0].(string)
  	p := args[1].(string)
  
  	// Convert softlayer types to golang types
  	switch t {
  	case "unsignedLong", "unsignedInt":
  		return "uint"
  	case "boolean":
  		return "bool"
  	case "dateTime":
  		if p != "datatypes" {
  			return "datatypes.Time"
  		} else {
  			return "Time"
  		}
  	case "decimal", "float":
  		if p != "datatypes" {
  			return "datatypes.Float64"
  		} else {
  			return "Float64"
  		}
  	case "base64Binary":
  		return "[]byte"
  	case "json", "enum":
  		return "string"
  	}
  
  	if strings.HasPrefix(t, "SoftLayer_") {
  		t = RemovePrefix(t)
  		if p != "datatypes" {
  			return "datatypes." + t
  		}
  		return t
  	}
  
  	if strings.HasPrefix(t, "McAfee_") {
  		if p != "datatypes" {
  			return "datatypes." + t
  		}
  		return t
  	}
  
  	return t
  }
docs: // ConvertType takes the name of the type to convert, and the package context.