Closed ehernandez-xk closed 7 years ago
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.
Good catch.
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.