removing some broken stuff from the go.mod. Eventually will have to create this differently.
@@ -263,7 +263,8 @@ module ` + packageName + `/client
go 1.16
require (
- ` + packageName + `/models v0.0.0
+ //removed this because it can never get the right version. Adding with a go get instead.
+ // ` + packageName + `/models v0.0.0
github.com/Clever/discovery-go v1.7.2
github.com/afex/hystrix-go v0.0.0-20180502004556-fa1af6a1f4f5
github.com/donovanhide/eventsource v0.0.0-20171031113327-3ed64d21fb0b
@@ -299,7 +300,6 @@ require (
gopkg.in/Clever/kayvee-go.v6 v6.27.0 // indirect //Still want to remove this once I merge discovery-go PR.
gopkg.in/yaml.v2 v2.4.0 // indirect
- replace ` + packageName + `/models => ../models
)
`
_, err = f.WriteString(modFileString)
