You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
➜ 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.
The text was updated successfully, but these errors were encountered:
问题描述:
➜ 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.
The text was updated successfully, but these errors were encountered: