diff --git a/README.MD b/README.MD index 817a7cc..91a419c 100644 --- a/README.MD +++ b/README.MD @@ -8,7 +8,7 @@ A simple example of LDAP authentication using ngx_http_auth_request_module by go #### Build from source ``` # git clone https://github.com/shanghai-edu/nginx-ldap-auth -# go get ./... +# go mod tidy # chmod +x control # ./control build # ./control pack diff --git a/README_CN.MD b/README_CN.MD index 4ced50e..ac5565a 100644 --- a/README_CN.MD +++ b/README_CN.MD @@ -7,7 +7,7 @@ Golang 实现 #### Build from source ``` # git clone https://github.com/shanghai-edu/nginx-ldap-auth -# go get ./... +# go mod tidy # chmod +x control # ./control build # ./control pack