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:
Madhu Rajanna 2020-06-19 11:00:26 +05:30 committed by mergify[bot]
parent 03947ebcc5
commit 1a1ad11f57

View File

@ -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"
) )
``` ```