Skip to content

Commit

Permalink
gowsdl package is now in root and cli is separated
Browse files Browse the repository at this point in the history
  • Loading branch information
sanbornm committed Sep 11, 2015
1 parent 6774f3c commit 0d8b74e
Show file tree
Hide file tree
Showing 21 changed files with 13 additions and 172 deletions.
Binary file added .DS_Store
Binary file not shown.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@

Generates Go code from a WSDL file.

### Install

* [Download binary release](https://github.com/hooklift/gowsdl/releases)
* Or: `go get github.com/hooklift/gowsdl/...`

### Goals
* Generate idiomatic Go code as much as possible
* Support only Document/Literal wrapped services, which are [WS-I](http://ws-i.org/) compliant
Expand Down
71 changes: 0 additions & 71 deletions doc.go

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion generator/gowsdl.go → gowsdl.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
package generator
package gowsdl

import (
"bytes"
Expand Down
2 changes: 1 addition & 1 deletion generator/header_tmpl.go → header_tmpl.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
package generator
package gowsdl

var headerTmpl = `
package {{.}}
Expand Down
93 changes: 0 additions & 93 deletions main.go

This file was deleted.

2 changes: 1 addition & 1 deletion generator/operations_tmpl.go → operations_tmpl.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
package generator
package gowsdl

var opsTmpl = `
{{range .}}
Expand Down
2 changes: 1 addition & 1 deletion generator/soap_tmpl.go → soap_tmpl.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package generator
package gowsdl

var soapTmpl = `
var timeout = time.Duration(30 * time.Second)
Expand Down
2 changes: 1 addition & 1 deletion generator/types_tmpl.go → types_tmpl.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
package generator
package gowsdl

var typesTmpl = `
{{define "SimpleType"}}
Expand Down
2 changes: 1 addition & 1 deletion generator/wsdl.go → wsdl.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
package generator
package gowsdl

type Wsdl struct {
Name string `xml:"name,attr"`
Expand Down
2 changes: 1 addition & 1 deletion generator/wsdl_test.go → wsdl_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
package generator
package gowsdl

import (
"encoding/xml"
Expand Down
2 changes: 1 addition & 1 deletion generator/xsd.go → xsd.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
package generator
package gowsdl

import (
"encoding/xml"
Expand Down

0 comments on commit 0d8b74e

Please sign in to comment.