Skip to content
This repository has been archived by the owner on Jan 5, 2019. It is now read-only.

Commit

Permalink
add xsd bool -> boolean
Browse files Browse the repository at this point in the history
  • Loading branch information
Ernest Micklei committed Aug 16, 2017
1 parent c0b794d commit eb711a8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/proto2xsd/xsd.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,8 @@ func mapProtoSimpleTypeToXSDSimpleType(pt string) string {
return "integer"
case "uint64", "int64", "fixed64", "sfixed64", "sint64":
return "long"
case "bool":
return "boolean"
default:
// assume that target types are in uppercase
r, _ := utf8.DecodeRuneInString(pt)
Expand Down

0 comments on commit eb711a8

Please sign in to comment.