Skip to content

Commit

Permalink
Merge pull request #256 from jens1205/nonnegativeinteger
Browse files Browse the repository at this point in the history
add nonnegativeinteger
  • Loading branch information
c4milo authored Aug 13, 2023
2 parents 69ba7b3 + 4cfa305 commit 607a639
Showing 1 changed file with 24 additions and 23 deletions.
47 changes: 24 additions & 23 deletions gowsdl.go
Original file line number Diff line number Diff line change
Expand Up @@ -494,29 +494,30 @@ func goString(s string) string {
}

var xsd2GoTypes = map[string]string{
"string": "string",
"token": "string",
"float": "float32",
"double": "float64",
"decimal": "float64",
"integer": "int32",
"int": "int32",
"short": "int16",
"byte": "int8",
"long": "int64",
"boolean": "bool",
"datetime": "soap.XSDDateTime",
"date": "soap.XSDDate",
"time": "soap.XSDTime",
"base64binary": "[]byte",
"hexbinary": "[]byte",
"unsignedint": "uint32",
"unsignedshort": "uint16",
"unsignedbyte": "byte",
"unsignedlong": "uint64",
"anytype": "AnyType",
"ncname": "NCName",
"anyuri": "AnyURI",
"string": "string",
"token": "string",
"float": "float32",
"double": "float64",
"decimal": "float64",
"integer": "int32",
"int": "int32",
"short": "int16",
"byte": "int8",
"long": "int64",
"boolean": "bool",
"datetime": "soap.XSDDateTime",
"date": "soap.XSDDate",
"time": "soap.XSDTime",
"base64binary": "[]byte",
"hexbinary": "[]byte",
"unsignedint": "uint32",
"nonnegativeinteger": "uint32",
"unsignedshort": "uint16",
"unsignedbyte": "byte",
"unsignedlong": "uint64",
"anytype": "AnyType",
"ncname": "NCName",
"anyuri": "AnyURI",
}

func removeNS(xsdType string) string {
Expand Down

0 comments on commit 607a639

Please sign in to comment.