# goHelpers **Repository Path**: copylian/go-helpers ## Basic Information - **Project Name**: goHelpers - **Description**: goHelperss - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-04-19 - **Last Updated**: 2023-05-01 ## Categories & Tags **Categories**: Uncategorized **Tags**: Go语言 ## README # 1. 初始化项目 替换项目中import 【project】为项目名称 # 2. go mod 初始化 go mod init 项目名称 在go.mod文件种加入以下replace信息 ```shell go 1.18 replace ( gitee.com/copylian/lian-go.git v0.0.0 => ./submodule/lian-go.git ) ``` # 3. git 子模块初始化 git submodule add git@gitee.com:copylian/lian-go.git submodule/lian-go.git # 4. 同步子模块 git submodule update --remote --init # 5. 设置私有仓库 go env -w GOPRIVATE=*.gitee.com # 6. 整理go mod go mod tidy