Go-Splunk-HTTP
Go-Splunk-HTTP copied to clipboard
Update filepaths and go.mod contents to support default release tags
- move
go.modto root - move
./splunk/v2to./v2 - update
go.modto reflect the change of path for the module so that specific release tags don't have to be created in the formatsplunk/vX.X.X
One note: after that change, it will be necessary to alias the package import for the package name to be a valid Go import (e.g. "splunk").
// before
import "github.com/ZachtimusPrime/Go-Splunk-HTTP/splunk/v2"
func f() {
// implicitly available as "splunk"
_ = &splunk.Client{}
}
// after
import splunk "github.com/ZachtimusPrime/Go-Splunk-HTTP/v2"
func f() {
_ = &splunk.Client{}
}
I'm fine with that, but it's worth documenting it in the README.