Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

记录一个mac上的运行问题 #3

Open
samtake opened this issue Feb 22, 2020 · 0 comments
Open

记录一个mac上的运行问题 #3

samtake opened this issue Feb 22, 2020 · 0 comments

Comments

@samtake
Copy link

samtake commented Feb 22, 2020

问题描述:

➜ egoshop git:(master) ✗ cd appgo
➜ appgo git:(master) ✗ go build
verifying github.com/coreos/etcd@v3.3.10+incompatible: checksum mismatch
downloaded: h1:jFneRYjIvLMLhDLCzuTuU4rSJUjRplcJQ7pD7MnhC04=
go.sum: h1:KjVWqrZ5U0wa3CxY2AxlH6/UcB+PK2td1DcsYhA+HRs=

SECURITY ERROR
This download does NOT match an earlier download recorded in go.sum.
The bits may have been replaced on the origin server, or an attacker may
have intercepted the download attempt.

For more information, see 'go help module-auth'.
➜ appgo git:(master) ✗ go get
verifying github.com/coreos/etcd@v3.3.10+incompatible: checksum mismatch
downloaded: h1:jFneRYjIvLMLhDLCzuTuU4rSJUjRplcJQ7pD7MnhC04=
go.sum: h1:KjVWqrZ5U0wa3CxY2AxlH6/UcB+PK2td1DcsYhA+HRs=

SECURITY ERROR
This download does NOT match an earlier download recorded in go.sum.
The bits may have been replaced on the origin server, or an attacker may
have intercepted the download attempt.

For more information, see 'go help module-auth'.

解决:
先删除go.sum文件,然后执行

➜ appgo git:(master) ✗ go get
➜ appgo git:(master) ✗ go build
➜ appgo git:(master) ✗ ./appgo install

(/Users/samtake/Documents/GitHub/egoshop/appgo/command/install/install.go:62)
[2020-02-22 19:01:24] [28.79ms] CREATE TABLE banner (id int AUTO_INCREMENT NOT NULL COMMENT '主键ID',created_at DATETIME NULL COMMENT '注释',updated_at DATETIME NULL COMMENT '注释',deleted_at DATETIME NULL COMMENT '注释',created_by int NOT NULL COMMENT '注释',updated_by int NOT NULL COMMENT '注释',res_type int NOT NULL,title varchar(255) NOT NULL,link varchar(255) NOT NULL,image varchar(255) NOT NULL,content varchar(255) NOT NULL,enable int NOT NULL,start_time bigint NOT NULL,end_time bigint NOT NULL,part_id int NOT NULL , PRIMARY KEY (id)) ENGINE=InnoDB
[0 rows affected or returned ]

(/Users/samtake/Documents/GitHub/egoshop/appgo/command/install/install.go:62)
[2020-02-22 19:01:24] [46.62ms] CREATE TABLE com (id int AUTO_INCREMENT NOT NULL COMMENT '主键id',created_at DATETIME NULL COMMENT '创建时间',updated_at DATETIME NULL COMMENT '更新时间',deleted_at DATETIME NULL COMMENT '注...

-end.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant