例子
module service_push_server
go 1.13
require ( // 一定要记得在上面require里面加上,否则代码里面还是没办法用!
git.enerjoy.fun/common/module_httpexpect_test/v2 v2.1.0-beta.3
git.enerjoy.fun/common/module_suncream_server v1.0.0
git.enerjoy.fun/common/module_warning_server v1.0.2
github.com/fasthttp-contrib/websocket v0.0.0-20160511215533-1f3b11f56072 // indirect
github.com/fsnotify/fsnotify v1.4.9
github.com/imkira/go-interpol v1.1.0 // indirect
github.com/kataras/golog v0.1.6
github.com/kataras/iris/v12 v12.1.2
github.com/moul/http2curl v1.0.0 // indirect
github.com/nats-io/nats-server/v2 v2.1.9 // indirect
github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e // indirect
github.com/onsi/ginkgo v1.14.2 // indirect
github.com/onsi/gomega v1.10.4 // indirect
github.com/sergi/go-diff v1.1.0 // indirect
github.com/sideshow/apns2 v0.20.0
github.com/spf13/viper v1.7.1
github.com/valyala/fasthttp v1.18.0 // indirect
github.com/xeipuuv/gojsonschema v1.2.0 // indirect
gopkg.in/check.v1 v1.0.0-20200902074654-038fdea0a05b // indirect
)
replace (
git.enerjoy.fun/common/module_httpexpect_test/v2 v2.1.0-beta.3 => ../../module_httpexpect_test
git.enerjoy.fun/common/module_suncream_server v1.0.0 => ../../module_suncream_server
git.enerjoy.fun/common/module_warning_server v1.0.2 => ../../module_warning_server
)