更新文档

This commit is contained in:
gouguoyin 2024-11-22 22:26:31 +08:00
parent b8b178083d
commit a54d662e14
2 changed files with 2 additions and 2 deletions

View File

@ -39,7 +39,7 @@ go get -u gitcode.com/dromara/carbon/v2
import "gitcode.com/dromara/carbon/v2"
```
由于 `carbon` 已经捐赠给了 [dromara](https://dromara.org/ "dromara") 组织,仓库地址发生了改变,如果之前用的仓库地址是 `golang-module/carbon`,请在 `go.mod` 里将原地址更换为新地址,或执行如下命令
`carbon` 已经捐赠给了 [dromara](https://dromara.org/ "dromara") 组织,仓库地址发生了改变,如果之前用的仓库地址是 `golang-module/carbon`,请在 `go.mod` 里将原地址更换为新地址,或执行如下命令
```go
go mod edit -replace github.com/golang-module/carbon/v2=github.com/dromara/carbon/v2

View File

@ -40,7 +40,7 @@ go get -u gitcode.com/dromara/carbon/v2
import "gitee.com/dromara/gitcode/v2"
```
Because `carbon` was donated to the [dromara](https://dromara.org/ "dromara") organization, the repository url has changed. If the previous repository used was `golang-module/carbon`, please replace the original repository with the new repository in `go.mod`, or execute the following command
`carbon` was donated to the [dromara](https://dromara.org/ "dromara") organization, the repository url has changed. If the previous repository used was `golang-module/carbon`, please replace the original repository with the new repository in `go.mod`, or execute the following command
```go
go mod edit -replace github.com/golang-module/carbon/v2=github.com/dromara/carbon/v2