Skip to content

Commit

Permalink
Update content
Browse files Browse the repository at this point in the history
  • Loading branch information
gouguoyin committed Nov 22, 2024
1 parent 42d5ae3 commit 41dbddf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 24 deletions.
15 changes: 3 additions & 12 deletions README.cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -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` 里将原地址更换为新地址,如
Expand Down
15 changes: 3 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 41dbddf

Please sign in to comment.