Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- func Auth_login(w http.ResponseWriter, r *http.Request) {
- r.ParseForm()
- user := r.PostFormValue("username")
- // Other actions here
- }
- form action=/login method=post
- br
- | Name:
- br
- input#username type=text
- br
- | Password:
- br
- input#password type=password
- br
- input type=submit
- a href=/login Cancel
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement