Skip to content

Commit

Permalink
go mod的自由世界
Browse files Browse the repository at this point in the history
  • Loading branch information
bydmm committed Jul 11, 2019
1 parent 1dd6c48 commit a2a0871
Show file tree
Hide file tree
Showing 505 changed files with 79,546 additions and 20,284 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,12 @@ GIN_MODE="debug"

## Go 依赖

本项目使用 `govendor` 管理依赖。
本项目使用 `go mod` 管理依赖。

```shell
go get -u github.com/kardianos/govendor
govendor init
export GOPROXY=https://goproxy.io
go mod tidy
go mod vendor
```

## 运行
Expand Down
15 changes: 15 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
module giligili

go 1.12

require (
github.com/gin-contrib/cors v1.3.0
github.com/gin-contrib/sessions v0.0.0-20190512062852-3cb4c4f2d615
github.com/gin-gonic/gin v1.4.0
github.com/go-redis/redis v6.15.3+incompatible
github.com/jinzhu/gorm v1.9.10
github.com/joho/godotenv v1.3.0
golang.org/x/crypto v0.0.0-20190701094942-4def268fd1a4
gopkg.in/go-playground/validator.v8 v8.18.2
gopkg.in/yaml.v2 v2.2.2
)
183 changes: 183 additions & 0 deletions go.sum

Large diffs are not rendered by default.

23 changes: 23 additions & 0 deletions vendor/github.com/gin-contrib/cors/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

32 changes: 32 additions & 0 deletions vendor/github.com/gin-contrib/cors/.travis.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

47 changes: 46 additions & 1 deletion vendor/github.com/gin-contrib/cors/config.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

87 changes: 79 additions & 8 deletions vendor/github.com/gin-contrib/cors/cors.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions vendor/github.com/gin-contrib/cors/go.mod

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

47 changes: 47 additions & 0 deletions vendor/github.com/gin-contrib/cors/go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions vendor/github.com/gin-contrib/sessions/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit a2a0871

Please sign in to comment.