Advertisement
Guest User

Untitled

a guest
Dec 28th, 2016
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. func Auth_login(w http.ResponseWriter, r *http.Request) {
  2. r.ParseForm()
  3. user := r.PostFormValue("username")
  4. // Other actions here
  5. }
  6.  
  7. form action=/login method=post
  8.  
  9. br
  10. | Name:
  11. br
  12. input#username type=text
  13.  
  14. br
  15. | Password:
  16. br
  17. input#password type=password
  18.  
  19. br
  20. input type=submit
  21. a href=/login Cancel
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement