Ch. 6: Wrong tag string in `poll` struct.
Closed this issue · 1 comments
ReSTARTR commented
HI Mat,
I found a wrong tag string in "Handling endpoints" section on ch. 6.
// api/polls.go
type poll struct {
Title string `json":"title""`
}
The double quote before :
in this tag doesn't seem to be needed.
// api/polls.go
type poll struct {
Title string `json:"title""`
}
It's collect in this repository code.(
goblueprints/chapter6/api/polls.go
Line 12 in f957fa0
matryer commented
Thanks.