Skip to content

Commit

Permalink
增加 ws 示例
Browse files Browse the repository at this point in the history
  • Loading branch information
donknap committed May 23, 2023
1 parent 03835ad commit bccc295
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 18 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ go版软擎骨架项目
## 创建项目

```
export GOPATH=/tmp && go install github.com/we7coreteam/[email protected].2
/tmp/w7-rangine-go-skeleton make:project --dir=/home/
export GOPATH=/tmp && go install github.com/we7coreteam/[email protected].5
/tmp/w7-rangine-go-skeleton make:project /home/root/my-go-project
```

## 辅助命令
Expand Down
19 changes: 3 additions & 16 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,19 @@ go 1.19
require (
github.com/gin-gonic/gin v1.9.0
github.com/gookit/color v1.5.3
github.com/gorilla/websocket v1.5.0
github.com/spf13/cobra v1.7.0
github.com/we7coreteam/w7-rangine-go v1.0.4
github.com/spf13/viper v1.15.0
github.com/we7coreteam/w7-rangine-go v1.0.5
github.com/we7coreteam/w7-rangine-go-support v0.0.0-20230511075119-effd5b29debf
)

require (
github.com/asaskevich/EventBus v0.0.0-20200907212545-49d423059eef // indirect
github.com/bep/godartsass v0.16.0 // indirect
github.com/bep/golibsass v1.1.0 // indirect
github.com/bytedance/sonic v1.8.9 // indirect
github.com/cespare/xxhash/v2 v2.2.0 // indirect
github.com/chenzhuoyu/base64x v0.0.0-20221115062448-fe3a3abad311 // indirect
github.com/cli/safeexec v1.0.0 // indirect
github.com/cosmtrek/air v1.43.0 // indirect
github.com/creack/pty v1.1.18 // indirect
github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f // indirect
github.com/fatih/color v1.14.1 // indirect
github.com/fsnotify/fsnotify v1.6.0 // indirect
github.com/gabriel-vasile/mimetype v1.4.2 // indirect
github.com/gin-contrib/sessions v0.0.5 // indirect
Expand All @@ -31,14 +27,11 @@ require (
github.com/go-playground/validator/v10 v10.14.0 // indirect
github.com/go-sql-driver/mysql v1.7.1 // indirect
github.com/goccy/go-json v0.10.2 // indirect
github.com/gohugoio/hugo v0.111.3 // indirect
github.com/golobby/container/v3 v3.0.2 // indirect
github.com/gorilla/context v1.1.1 // indirect
github.com/gorilla/securecookie v1.1.1 // indirect
github.com/gorilla/sessions v1.2.1 // indirect
github.com/gorilla/websocket v1.5.0 // indirect
github.com/hashicorp/hcl v1.0.0 // indirect
github.com/imdario/mergo v0.3.13 // indirect
github.com/inconshreveable/mousetrap v1.1.0 // indirect
github.com/jedib0t/go-pretty/v6 v6.4.6 // indirect
github.com/jinzhu/inflection v1.0.0 // indirect
Expand All @@ -48,13 +41,11 @@ require (
github.com/klauspost/cpuid/v2 v2.2.4 // indirect
github.com/leodido/go-urn v1.2.4 // indirect
github.com/magiconair/properties v1.8.7 // indirect
github.com/mattn/go-colorable v0.1.13 // indirect
github.com/mattn/go-isatty v0.0.19 // indirect
github.com/mattn/go-runewidth v0.0.14 // indirect
github.com/mitchellh/mapstructure v1.5.0 // indirect
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/modern-go/reflect2 v1.0.2 // indirect
github.com/pelletier/go-toml v1.9.5 // indirect
github.com/pelletier/go-toml/v2 v2.0.7 // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/redis/go-redis/v9 v9.0.4 // indirect
Expand All @@ -64,9 +55,7 @@ require (
github.com/spf13/cast v1.5.1 // indirect
github.com/spf13/jwalterweatherman v1.1.0 // indirect
github.com/spf13/pflag v1.0.5 // indirect
github.com/spf13/viper v1.15.0 // indirect
github.com/subosito/gotenv v1.4.2 // indirect
github.com/tdewolff/parse/v2 v2.6.5 // indirect
github.com/twitchyliquid64/golang-asm v0.15.1 // indirect
github.com/ugorji/go/codec v1.2.11 // indirect
github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e // indirect
Expand All @@ -86,5 +75,3 @@ require (
gorm.io/driver/mysql v1.5.1 // indirect
gorm.io/gorm v1.25.1 // indirect
)

replace github.com/we7coreteam/w7-rangine-go => ../w7-rangine-go

0 comments on commit bccc295

Please sign in to comment.