$ mkdir repro
$ cd repro
$ go mod init github.com/CodyDWJones/repro
$ go get github.com/ZachtimusPrime/Go-Splunk-HTTP/v2
go get github.com/ZachtimusPrime/Go-Splunk-HTTP/v2: module github.com/ZachtimusPrime/Go-Splunk-HTTP@upgrade found (v0.0.0-20201008172325-b298e35fa174), but does not contain package github.com/ZachtimusPrime/Go-Splunk-HTTP/v2
The following fails too but that's expected since v2 is considered to contain breaking changes:
$ go get github.com/ZachtimusPrime/[email protected]
go get github.com/ZachtimusPrime/[email protected]: github.com/ZachtimusPrime/[email protected]: invalid version: module contains a go.mod file, so major version must be compatible: should be v0 or v1, not v2