mirror of
https://github.com/AlexxIT/go2rtc.git
synced 2025-10-16 05:10:59 +08:00
Code refactoring after #878
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user