mirror of
https://gitee.com/dromara/carbon.git
synced 2024-11-29 18:57:37 +08:00
更新文档
This commit is contained in:
parent
b8b178083d
commit
a54d662e14
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user