gotomicro / egoshop Goto Github PK
View Code? Open in Web Editor NEWAn e-shop is written by Go
License: Apache License 2.0
An e-shop is written by Go
License: Apache License 2.0
问题描述:
➜ egoshop git:(master) ✗ cd appgo
➜ appgo git:(master) ✗ go build
verifying github.com/coreos/[email protected]+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/[email protected]+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.
real 0m33.012s
user 0m50.170s
sys 0m8.239s
/bin/sh: /Users/l..../go/src/github.com/i2eco/egoshop/appgo/egoshop: cannot execute binary file
make: *** [install] Error 126
go list -m: github.com/spf13/[email protected]+incompatible: invalid version: +incompatible suffix not allowed: module contains a go.mod file, so semantic import versioning is required
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.