diff --git a/.gitignore b/.gitignore index 4c49bd7..f3500e7 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,3 @@ .env +/go-mitmproxy +/dummycert diff --git a/Makefile b/Makefile index fa9348c..64d5020 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ all: mitmproxy .PHONY: mitmproxy mitmproxy: - go build -o mitmproxy cmd/mitmproxy/main.go + go build -o go-mitmproxy cmd/go-mitmproxy/main.go .PHONY: dummycert dummycert: @@ -10,7 +10,7 @@ dummycert: .PHONY: clean clean: - rm -f mitmproxy dummycert + rm -f go-mitmproxy dummycert .PHONY: test test: diff --git a/README.md b/README.md index 425deee..3fd9562 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ ## 安装 ``` -GO111MODULE=on go get -u github.com/lqqyt2423/go-mitmproxy/cmd/mitmproxy +GO111MODULE=on go get -u github.com/lqqyt2423/go-mitmproxy/cmd/go-mitmproxy ``` ## 命令行使用 diff --git a/cmd/mitmproxy/main.go b/cmd/go-mitmproxy/main.go similarity index 98% rename from cmd/mitmproxy/main.go rename to cmd/go-mitmproxy/main.go index 2798a9e..53b2cb7 100644 --- a/cmd/mitmproxy/main.go +++ b/cmd/go-mitmproxy/main.go @@ -10,7 +10,7 @@ import ( log "github.com/sirupsen/logrus" ) -const version = "0.0.4" +const version = "0.0.5" type Config struct { addr string