format readme code import (#1503)

This commit is contained in:
anoty 2018-08-21 13:29:25 +08:00 committed by 田欧
parent 85f3e78abc
commit 0da5b0c85a
1 changed files with 6 additions and 3 deletions

View File

@ -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 (
import "github.com/gin-gonic/gin" "log"
import "time" "time"
"github.com/gin-gonic/gin"
)
type Person struct { type Person struct {
Name string `form:"name"` Name string `form:"name"`