mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-18 11:00:25 +00:00
doc: update coding doc to correct import order
Updated coding doc to correct the import order as per the standard. More info can be found on https://github.com/golang/go/wiki/CodeReviewComments#imports Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
parent
03947ebcc5
commit
1a1ad11f57
@ -23,9 +23,9 @@ We use the following convention for specifying imports:
|
|||||||
```
|
```
|
||||||
<import standard library packages>
|
<import standard library packages>
|
||||||
|
|
||||||
<import third-party packages>
|
|
||||||
|
|
||||||
<import ceph-csi packages>
|
<import ceph-csi packages>
|
||||||
|
|
||||||
|
<import third-party packages>
|
||||||
```
|
```
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
@ -37,10 +37,10 @@ import (
|
|||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
|
"github.com/ceph/ceph-csi/internal/util"
|
||||||
|
|
||||||
"github.com/pborman/uuid"
|
"github.com/pborman/uuid"
|
||||||
"github.com/pkg/errors"
|
"github.com/pkg/errors"
|
||||||
|
|
||||||
"github.com/ceph/ceph-csi/internal/util"
|
|
||||||
)
|
)
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user