Skip to content

Commit 9843145

Browse files
authored
Merge pull request #41 from lucasmdrs/patch-1
Fixing Go Tags
2 parents ca10fff + 302f03b commit 9843145

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

doc_source/go-programming-model-handler-types.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,12 @@ import (
5454
)
5555
5656
type MyEvent struct {
57-
Name string 'json:"What is your name?"'
58-
Age int 'json:"How old are you?"'
57+
Name string `json:"What is your name?"`
58+
Age int `json:"How old are you?"`
5959
}
6060
6161
type MyResponse struct {
62-
Message string 'json:"Answer:"'
62+
Message string `json:"Answer:"`
6363
}
6464
6565
func HandleLambdaEvent(event MyEvent) (MyResponse, error) {
@@ -148,4 +148,4 @@ func main() {
148148

149149
## Next Step<a name="go-programming-model-next-step-context"></a>
150150

151-
[The Context Object \(Go\) ](go-programming-model-context.md)
151+
[The Context Object \(Go\) ](go-programming-model-context.md)

0 commit comments

Comments
 (0)