golang 离线使用模块
修改 go.mod
module tcp go 1.17 require ( gitlab.xxx.test/dto/app v0.0.0-20220929075345-361eddc7a846 gitlab.xxx.test/dto/gateway v0.0.0-20221012065303-c57152ca6c85 gitlab.xxx.test/dto/pack v0.0.0-20221011094259-07e7a68cdee7 gitlab.xxx.test/dto/upgrade v0.0.0-20220817013941-db5e3bf50a6f gitlab.xxx.test/pkg/logger v0.0.0-20221031091256-cfeee0ffaf2d gitlab.xxx.test/pkg/tcp-client v0.0.0-20220929030405-fa9976bd62da gitlab.xxx.test/pkg/utils v0.0.0-20220817012144-cbcf8d268117 gitlab.xxx.test/pkg/file-rotatelogs v0.0.0-20221031091137-4621e02c5e2a // indirect ) require ( github.com/kardianos/osext v0.0.0-20190222173326-2bc1f35cddc0 // indirect github.com/lestrrat-go/strftime v1.0.6 // indirect github.com/pkg/errors v0.9.1 // indirect github.com/mitchellh/mapstructure v1.5.0 github.com/satori/go.uuid v1.2.0 go.uber.org/atomic v1.10.0 // indirect go.uber.org/multierr v1.8.0 // indirect go.uber.org/zap v1.23.0 // indirect ) replace( gitlab.xxx.test/pkg/tcp-client => ./external/gitlab.xxx.test/pkg/tcp-client gitlab.xxx.test/pkg/logger => ./external/gitlab.xxx.test/pkg/logger gitlab.xxx.test/pkg/utils => ./external/gitlab.xxx.test/pkg/utils gitlab.xxx.test/pkg/file-rotatelogs => ./external/gitlab.xxx.test/pkg/file-rotatelogs gitlab.xxx.test/dto/gateway => ./external/gitlab.xxx.test/dto/gateway gitlab.xxx.test/dto/upgrade => ./external/gitlab.xxx.test/dto/upgrade )