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