Skip to content
Snippets Groups Projects
Commit f60e8552 authored by 邹毅贤's avatar 邹毅贤
Browse files

Add: import code rule

parent 6c85ebe8
No related branches found
No related tags found
No related merge requests found
......@@ -38,4 +38,27 @@ The title format of the pull request `MUST` follow the following rules:
### 3.3 comment
>- 1 there should be comment for every export func/var.
>- 2 the comment should begin with function name/var name.
\ No newline at end of file
>- 2 the comment should begin with function name/var name.
### 3.4 import
We dubbogo import blocks should be splited into 3 blocks.
```Go
// block 1: the go internal package
import (
"fmt"
)
// block 2: the third package
import (
"github.com/dubbogo/xxx"
"github.com/RoaringBitmap/roaring"
)
// block 3: the dubbo-go package
import (
"github.com/apache/dubbo-go/common"
)
```
\ No newline at end of file
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment