From 648f8de151b602f983d6248920049c12b646673a Mon Sep 17 00:00:00 2001 From: evlic Date: Mon, 18 Sep 2023 16:41:57 +0800 Subject: [PATCH] =?UTF-8?q?doc(README):=20=E6=B7=BB=E5=8A=A0=20go=20get=20?= =?UTF-8?q?=E6=8C=87=E4=BB=A4=E5=B8=AE=E5=8A=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index e69de29..acafc96 100644 --- a/README.md +++ b/README.md @@ -0,0 +1,12 @@ +# Go pkg + +## 使用方式 + +```shell +# 1. 设置私有库跳过计算 gosum +go env -w GOPRIVATE=lab.evlic.cn/go/* + +# 2. 安装本 pkg 库 +go get -u lab.evlic.cn/go/pkg@latest +``` +