I am trying to implement datatables server-side-processing in golang with gin framework. I have my resource in php. I want to convert it into golang gin. Need a little help.
// php codes $params = $_REQUEST; $draw = $params["draw"]; $orderColumn = $params['order']['column']; $sortColumnDir = $params['order']['dir'];
// golang gin codes // no idea what to do to get $_REQUEST as in php // $params = $_REQUEST; // here what will be go code in gin ? // I have tried following, but not sure draw := c.Request.Form.Get("draw") orderColumn := c.Request.Form.Get("order[column]") sortColumnDir := c.Request.Form.Get("order[dir]")