Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

fix go mod 1.16 issue #49

Merged
merged 1 commit into from
Aug 3, 2021
Merged

fix go mod 1.16 issue #49

merged 1 commit into from
Aug 3, 2021

Conversation

csimplestring
Copy link

@csimplestring csimplestring commented Aug 3, 2021

when upgrading to Go 1.16, we encountered the error in CI pipeline:
pkg/cache/allegro.go:8:2: missing go.sum entry for module providing package github.com/allegro/bigcache (imported by github.com/rtlnl/phoenix/pkg/cache); to add: go get github.com/rtlnl/phoenix/pkg/cache pkg/db/redis.go:8:2: missing go.sum entry for module providing package github.com/go-redis/redis/v7 (imported by github.com/rtlnl/phoenix/pkg/db); to add: go get github.com/rtlnl/phoenix/pkg/db /go/pkg/mod/github.com/gin-gonic/[email protected]/logger.go:14:2: missing go.sum entry for module providing package github.com/mattn/go-isatty (imported by github.com/gin-gonic/gin); to add: go get github.com/gin-gonic/[email protected] /go/pkg/mod/github.com/prometheus/[email protected]/prometheus/internal/metric.go:19:2: missing go.sum entry for module providing package github.com/prometheus/client_model/go (imported by github.com/prometheus/client_golang/prometheus); to add: go get github.com/prometheus/client_golang/[email protected] /go/pkg/mod/github.com/spf13/[email protected]/viper.go:47:2: missing go.sum entry for module providing package github.com/subosito/gotenv (imported by github.com/spf13/viper); to add: go get github.com/spf13/[email protected].

as suggested in this link: golang/go#44129 (comment) the mod flag is added

@csimplestring csimplestring merged commit 17df3d0 into development Aug 3, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants