diff --git a/README.cn.md b/README.cn.md index d3a205b..3c4078f 100755 --- a/README.cn.md +++ b/README.cn.md @@ -25,24 +25,15 @@ ```go // 使用 github 库 go get -u github.com/dromara/dongle - -import ( - "github.com/dromara/dongle" -) +import "github.com/dromara/dongle" // 使用 gitee 库 go get -u gitee.com/dromara/dongle - -import ( - "gitee.com/dromara/dongle" -) +import "gitee.com/dromara/dongle" // 使用 gitcode 库 go get -u gitcode.com/dromara/dongle - -import ( - "gitcode.com/dromara/dongle" -) +import "gitcode.com/dromara/dongle" ``` 由于 `dongle` 已经捐赠给了 [dromara](https://dromara.org/ "dromara") 组织,仓库地址发生了改变,如果之前用的仓库地址是 `golang-module/dongle`,请在 `go.mod` 里将原地址更换为新地址,如 diff --git a/README.md b/README.md index fa3817c..bf566db 100644 --- a/README.md +++ b/README.md @@ -26,24 +26,15 @@ A simple, semantic and developer-friendly `golang` package for encryption algori ```go // By github go get -u github.com/dromara/dongle - -import ( - "github.com/dromara/dongle" -) +import "github.com/dromara/dongle" // By gitee go get -u gitee.com/dromara/dongle - -import ( - "gitee.com/dromara/dongle" -) +import "gitee.com/dromara/dongle" // By gitcode go get -u gitcode.com/dromara/dongle - -import ( - "gitcode.com/dromara/dongle" -) +import "gitcode.com/dromara/dongle" ``` Because `dongle` was donated to the [dromara](https://dromara.org/ "dromara") organization, the repository url has changed. If the previous repository used was `golang-module/dongle`, please replace the original repository with the new repository in `go.mod`, for example