From fb515a5cef76aa1e70fa210d2bad95103383f0c5 Mon Sep 17 00:00:00 2001 From: ZHAO Yijun Date: Mon, 10 Dec 2018 14:27:12 +0800 Subject: [PATCH] modify readme (#5) --- .gitignore | 1 + README.md | 4 ++++ config/config.go | 2 +- 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 4b69ad1..2f65b0f 100644 --- a/.gitignore +++ b/.gitignore @@ -4,6 +4,7 @@ *.log unittest.xml venv/ +vendor/ .idea/ main go.sum diff --git a/README.md b/README.md index 900b3cc..0ce4df3 100644 --- a/README.md +++ b/README.md @@ -24,5 +24,9 @@ $ make test # unit test ## run ``` +# Run with conf +$ ${GOPATH}/bin/proxy -confdir pathToConfDir + +# Others $ ${GOPATH}/bin/proxy -h ``` diff --git a/config/config.go b/config/config.go index b2580e7..e56e7c1 100644 --- a/config/config.go +++ b/config/config.go @@ -9,7 +9,7 @@ import ( ) const ( - Version = "1.0.0.8" + Version = "v1.0.2" ) var (