title: Go HTTP handler - handling more than two form actions
body: <p>I have a webapp where I have code like:</p>
  
  <pre><code>func handler (w res, r req) {
    if req.Method == POST {
      // create html form 2 with a submit button2
      return ;
    }
    // create html form 1 with a submit button1
    return
  } 
  
  func main() {
    handle("/", handler)
  }
  </code></pre>
  
  <p>Now, the root / is registered with the handler func. In the first request (GET), I create a form and send it to the user. If the user submits this form, I handle it under the "POST" method. Now, I create a different form in the post method handler, and now I want a way to do some operations based on what the user typed in this form2, when [s]he submits form2.</p>
  
  <p>What is the standard way with go to handle the form2 form submission ? I have done some asp programming earlier and we use form action to submit to a different asp file. How can I do some actions based on parsing the form2 submission request ? </p>