Chapter2: Syntax error
ehernandez-xk opened this issue · 1 comments
ehernandez-xk commented
The page 53 has a little syntax error:
w.Header.Set("Location", loginUrl)
Header is a function that returns the Header. Should be:
w.Header().Set("Location", loginUrl)
If you did it on purpose to learn =0) it is ok.
matryer commented
Good catch.