Update README.md
Fix typo
This commit is contained in:
parent
1f42ce7db8
commit
575bf805e2
1 changed files with 1 additions and 1 deletions
|
|
@ -638,7 +638,7 @@ Form submission processing is made extremely simple by leveraging functionality
|
||||||
|
|
||||||
Using the example form above, these are the steps you would take within the _POST_ callback for your route:
|
Using the example form above, these are the steps you would take within the _POST_ callback for your route:
|
||||||
|
|
||||||
Start by storing a pointer to the form in the conetxt so that your _GET_ callback can access the form values, which will be showed at the end:
|
Start by storing a pointer to the form in the context so that your _GET_ callback can access the form values, which will be showed at the end:
|
||||||
```go
|
```go
|
||||||
var form ContactForm
|
var form ContactForm
|
||||||
ctx.Set(context.FormKey, &form)
|
ctx.Set(context.FormKey, &form)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue