From ad3155c9d4eae047314143281d1375ee59f19dbf Mon Sep 17 00:00:00 2001 From: guonaihong Date: Thu, 19 Jan 2023 22:27:02 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 5 +++-- {cmd => cat}/cat.go | 0 2 files changed, 3 insertions(+), 2 deletions(-) rename {cmd => cat}/cat.go (100%) diff --git a/README.md b/README.md index 7556444..61ae350 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,8 @@ cat 是golang 实现的cat命令,完成了cat命令的所有功能,对posix ## install ``` -go build -o cat github.com/antlabs/cat/_cmd +// go build -o cat github.com/antlabs/cat/_cmd +env GOPROXY="goproxy.cn" go install github.com/antlabs/cat/cat@latest ``` ## usage ```console @@ -23,4 +24,4 @@ Flags: Args: -``` \ No newline at end of file +``` diff --git a/cmd/cat.go b/cat/cat.go similarity index 100% rename from cmd/cat.go rename to cat/cat.go