Skip to content

Commit

Permalink
Merge pull request #44 from kylescottmcgill/master
Browse files Browse the repository at this point in the history
added flag for insecure tls certs
  • Loading branch information
c4milo committed Oct 15, 2015
2 parents afb3e0b + 170d60f commit 2b05a48
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/gowsdl/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ var Name string
var vers = flag.Bool("v", false, "Shows gowsdl version")
var pkg = flag.String("p", "myservice", "Package under which code will be generated")
var outFile = flag.String("o", "myservice.go", "File where the generated code will be saved")
var insecure = flag.Bool("i", false, "Skips TLS Verification")

func init() {
log.SetFlags(0)
Expand Down Expand Up @@ -99,7 +100,7 @@ func main() {
}

// load wsdl
gowsdl, err := gen.NewGoWSDL(wsdlPath, *pkg, false)
gowsdl, err := gen.NewGoWSDL(wsdlPath, *pkg, *insecure)
if err != nil {
log.Fatalln(err)
}
Expand Down

0 comments on commit 2b05a48

Please sign in to comment.