Skip to content
Myr

docs(readme): fix code link (#989)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Eason Lin · committed by Bo-Yi Wu · parent 0c3726b · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:README.md+1 added-1 removed
469 unmodified lines
470func startPage(c *gin.Context) {471 var person Person472 // If `GET`, only `Form` binding engine (`query`) used.473 // If `POST`, first checks the `content-type` for `JSON` or `XML`, then uses `Form` (`form-data`).474 // See more at https://github.com/gin-gonic/gin/blob/develop/binding/binding.go#L45474 // See more at https://github.com/gin-gonic/gin/blob/master/binding/binding.go#L48475 if c.Bind(&person) == nil {476 log.Println(person.Name)477 log.Println(person.Address)478 }
528 unmodified lines