Code refactoring after #878

This commit is contained in:
Alex X
2024-04-29 18:34:48 +03:00
parent 64ac27d93d
commit 4e0185cfe6
7 changed files with 51 additions and 199 deletions

View File

@@ -6,6 +6,9 @@ import (
)
func ParseQuery(s string) url.Values {
if len(s) == 0 {
return nil
}
params := url.Values{}
for _, key := range strings.Split(s, "#") {
var value string