瀏覽代碼

format readme code import (#1503)

anoty 7 年之前
父節點
當前提交
0da5b0c85a
共有 1 個文件被更改,包括 6 次插入3 次删除
  1. 6 3
      README.md

+ 6 - 3
README.md

@@ -750,9 +750,12 @@ See the [detail information](https://github.com/gin-gonic/gin/issues/742#issueco
 ```go
 ```go
 package main
 package main
 
 
-import "log"
-import "github.com/gin-gonic/gin"
-import "time"
+import (
+	"log"
+	"time"
+
+	"github.com/gin-gonic/gin"
+)
 
 
 type Person struct {
 type Person struct {
 	Name     string    `form:"name"`
 	Name     string    `form:"name"`