Attempted to install this using the one-line installation instruction in the README:
$ go install github.com/way-platform/soap-go/cmd/soap@latest
go: github.com/way-platform/soap-go/cmd/soap@latest (in github.com/way-platform/soap-go/cmd/soap@v0.0.0-20260322200016-b2fdbaebf79c):
The go.mod file for the module providing named packages contains one or
more replace directives. It must not contain directives that would cause
it to be interpreted differently than if it were the main module.
This error is caused by the existence of a replace line in the go.mod file in the cmd/soap/ folder:
|
replace github.com/way-platform/soap-go => ../../ |
Probably the best fix for this is to simply nuke the go.mod & go.sum files from that cmd/soap/ subdirectory, as they don't seem to be adding anything.
I've made this change in my temporary fork to demonstrate this works: https://github.com/justinclift-prvidr/soap-go
ie:
$ go install github.com/justinclift-prvidr/soap-go/cmd/soap@latest
$ soap --help
Multi-tool for SOAP APIs
USAGE
soap [command] [--flags]
CODE GENERATION
gen [--flags] Generate code for a SOAP API
DOCUMENTATION
doc [--flags] Display documentation for a SOAP API
NETWORK OPERATIONS
call [--flags] Call a SOAP action
UTILS
completion [command] Generate the autocompletion script for the specified shell
help [command] Help about any command
FLAGS
-h --help Help for soap
-v --version Version for soap
Attempted to install this using the one-line installation instruction in the README:
This error is caused by the existence of a
replaceline in thego.modfile in thecmd/soap/folder:soap-go/cmd/soap/go.mod
Line 60 in b2fdbae
Probably the best fix for this is to simply nuke the
go.mod&go.sumfiles from thatcmd/soap/subdirectory, as they don't seem to be adding anything.I've made this change in my temporary fork to demonstrate this works: https://github.com/justinclift-prvidr/soap-go
ie: