zeromicro / go-zero

A cloud-native Go microservices framework with cli tool for productivity.

Home Page:https://go-zero.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

go mod tidy error with version V1.2.3

chowyu12 opened this issue · comments

Go Version 1.17.3
Go-Zero Version V1.2.3

  1. The code is

    https://github.com/zeromicro/zero-doc/blob/main/docs/zero/bookstore.md
  2. The error is

when go mod tidy

error while importing github.com/tal-tech/go-zero/core/stores/sqlx: missing go.sum entry for module providing package github.com/go-sql-driver/mysql (imported by github.com/tal-tech/go-zero/core/stores/sqlx); to add:
 go get github.com/tal-tech/go-zero/core/stores/sqlx@v1.2.3
commented

follow the tips, may be work
go get github.com/tal-tech/go-zero/core/stores/sqlx@v1.2.3

follow the tips, may be work go get github.com/tal-tech/go-zero/core/stores/sqlx@v1.2.3

The correct way to use go-zero is go get github.com/tal-tech/go-zero@v1.2.3, I used version @v1.2.3, the ha no problem
to execute go mod tidy

follow the tips, may be work go get github.com/tal-tech/go-zero/core/stores/sqlx@v1.2.3

The correct way to use go-zero is go get github.com/tal-tech/go-zero@v1.2.3, I used version @v1.2.3, the ha no problem

to execute go mod tidy

If you don't need the specific version, just use go get github.com/tal-tech/go-zero.

This issue is stale because it has been open for 30 days with no activity.

This issue was closed because it has been inactive for 14 days since being marked as stale.