Skip to content

Commit

Permalink
Unified import format
Browse files Browse the repository at this point in the history
  • Loading branch information
gouguoyin committed Aug 30, 2023
1 parent 2be03f9 commit 5edc5a7
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 18 deletions.
8 changes: 2 additions & 6 deletions README.cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,12 @@
// 使用 github 库
go get -u github.com/golang-module/carbon/v2

import (
"github.com/golang-module/carbon/v2"
)
import "github.com/golang-module/carbon/v2"

// 使用 gitee 库
go get -u gitee.com/golang-module/carbon/v2

import (
"gitee.com/golang-module/carbon/v2"
)
import "gitee.com/golang-module/carbon/v2"
```

##### Golang 版本小于 1.16 (必须)
Expand Down
9 changes: 3 additions & 6 deletions README.jp.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,17 +40,14 @@ import "gitee.com/golang-module/carbon/v2"
// github倉庫を使う
go get -u github.com/golang-module/carbon

import (
"github.com/golang-module/carbon"
)
import "github.com/golang-module/carbon"

// gitee倉庫を使う
go get -u gitee.com/golang-module/carbon

import (
"gitee.com/golang-module/carbon"
)
import "gitee.com/golang-module/carbon"
```

> v1とv2の違いについては、<a href="#人気のある問題">人気のある問題</a>をご覧ください。
人気のある問題
Expand Down
9 changes: 3 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,17 +40,14 @@ import "gitee.com/golang-module/carbon/v2"
// By github
go get -u github.com/golang-module/carbon

import (
"github.com/golang-module/carbon"
)
import "github.com/golang-module/carbon"

// By gitee
go get -u gitee.com/golang-module/carbon

import (
"gitee.com/golang-module/carbon"
)
import "gitee.com/golang-module/carbon"
```

> Please refer to <a href="#faq">FAQ</a> for the difference between v1 and v2
#### Usage and example
Expand Down

0 comments on commit 5edc5a7

Please sign in to comment.