mirror of
https://github.com/pomerium/pomerium.git
synced 2025-08-06 10:21:05 +02:00
remove source, remove deadcode, fix linting issues
This commit is contained in:
parent
681cf6fa27
commit
9fe4361d85
116 changed files with 404 additions and 535 deletions
|
@ -30,7 +30,7 @@ func Parse(r io.Reader) []Form {
|
|||
var visit func(*html.Node)
|
||||
visit = func(node *html.Node) {
|
||||
if node.Type == html.ElementNode && node.Data == "form" {
|
||||
currentForm = &Form{Action: "", Method: "GET", Inputs: make(map[string]string)}
|
||||
currentForm = &Form{Action: "", Method: http.MethodGet, Inputs: make(map[string]string)}
|
||||
for _, attr := range node.Attr {
|
||||
switch attr.Key {
|
||||
case "action":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue