Skip to content

Commit 2530424

Browse files
committed
fix(input-param,path): adjust new import path for this package and fix the import parameter namespace
1 parent c85da28 commit 2530424

16 files changed

+23
-23
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
# wsdl2go
22
[![Build Status](https://travis-ci.org/fiorix/wsdl2go.svg)](https://travis-ci.org/fiorix/wsdl2go)
3-
[![Go Report Card](https://goreportcard.com/badge/github.com/fiorix/wsdl2go)](https://goreportcard.com/report/github.com/fiorix/wsdl2go)
4-
[![GoDoc](https://godoc.org/github.com/fiorix/wsdl2go?status.svg)](https://godoc.org/github.com/fiorix/wsdl2go)
3+
[![Go Report Card](https://goreportcard.com/badge/github.com/grid-x/wsdl2go)](https://goreportcard.com/report/github.com/grid-x/wsdl2go)
4+
[![GoDoc](https://godoc.org/github.com/grid-x/wsdl2go?status.svg)](https://godoc.org/github.com/grid-x/wsdl2go)
55

66
wsdl2go is a command line tool to generate [Go](https://golang.org) code
77
from [WSDL](https://en.wikipedia.org/wiki/Web_Services_Description_Language).
88

99
Download:
1010

1111
```
12-
go get github.com/fiorix/wsdl2go
12+
go get github.com/grid-x/wsdl2go
1313
```
1414

1515
### Usage
@@ -43,7 +43,7 @@ Example:
4343
import (
4444
"/path/to/generated/example"
4545
46-
"github.com/fiorix/wsdl2go/soap"
46+
"github.com/grid-x/wsdl2go/soap"
4747
)
4848
4949
func main() {

main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ import (
1010
"net/url"
1111
"os"
1212

13-
"github.com/fiorix/wsdl2go/wsdl"
14-
"github.com/fiorix/wsdl2go/wsdlgo"
13+
"github.com/grid-x/wsdl2go/wsdl"
14+
"github.com/grid-x/wsdl2go/wsdlgo"
1515
)
1616

1717
var version = "tip"

wsdlgo/encoder.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import (
2424
"strings"
2525
"text/template"
2626

27-
"github.com/fiorix/wsdl2go/wsdl"
27+
"github.com/grid-x/wsdl2go/wsdl"
2828
)
2929

3030
// An Encoder generates Go code from WSDL definitions.
@@ -659,7 +659,7 @@ func (ge *goEncoder) writeSOAPFunc(w io.Writer, d *wsdl.Definitions, op *wsdl.Op
659659
rpcStyle = d.Binding.BindingType.Style == "rpc"
660660
}
661661

662-
ge.needsExtPkg["github.com/fiorix/wsdl2go/soap"] = true
662+
ge.needsExtPkg["github.com/grid-x/wsdl2go/soap"] = true
663663

664664
// inputNames describe the accessors to the input parameter names
665665
inputNames := make([]string, len(in))
@@ -832,8 +832,8 @@ func (ge *goEncoder) inputParams(op *wsdl.Operation) ([]*parameter, error) {
832832
return nil, fmt.Errorf("operation %q wants input message %q but it's not defined", op.Name, im)
833833
}
834834

835-
// TODO: I had to disable this for my use case - do other use cases still work with false?
836-
return ge.genParams(req, false), nil
835+
// TODO: I had to disable this for my use case - do other use cases still work with false? -> nope changed it back to true
836+
return ge.genParams(req, true), nil
837837
}
838838

839839
// returns list of function output parameters plus error.

wsdlgo/encoder_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import (
1414
"strings"
1515
"testing"
1616

17-
"github.com/fiorix/wsdl2go/wsdl"
17+
"github.com/grid-x/wsdl2go/wsdl"
1818
)
1919

2020
func LoadDefinition(t *testing.T, filename string, want error) *wsdl.Definitions {

wsdlgo/package.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package wsdlgo
33
import (
44
"strings"
55

6-
"github.com/fiorix/wsdl2go/wsdl"
6+
"github.com/grid-x/wsdl2go/wsdl"
77
)
88

99
const (

wsdlgo/package_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package wsdlgo
33
import (
44
"testing"
55

6-
"github.com/fiorix/wsdl2go/wsdl"
6+
"github.com/grid-x/wsdl2go/wsdl"
77
)
88

99
func TestBindingPackageName_String(t *testing.T) {

wsdlgo/testdata/arrayexample.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package stockquotesoapbinding
22

33
import (
4-
"github.com/fiorix/wsdl2go/soap"
4+
"github.com/grid-x/wsdl2go/soap"
55
)
66

77
// Namespace was auto-generated from WSDL.

wsdlgo/testdata/data.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package dataendpointhttpbinding
22

33
import (
4-
"github.com/fiorix/wsdl2go/soap"
4+
"github.com/grid-x/wsdl2go/soap"
55
)
66

77
// Namespace was auto-generated from WSDL.

wsdlgo/testdata/data_withkeyword.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package dataendpointhttpbinding
22

33
import (
4-
"github.com/fiorix/wsdl2go/soap"
4+
"github.com/grid-x/wsdl2go/soap"
55
)
66

77
// Namespace was auto-generated from WSDL.

wsdlgo/testdata/localimport.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package stockquotesoapbinding
22

33
import (
4-
"github.com/fiorix/wsdl2go/soap"
4+
"github.com/grid-x/wsdl2go/soap"
55
)
66

77
// Namespace was auto-generated from WSDL.

0 commit comments

Comments
 (0)