mirror of
https://github.com/Bornholm/formidable.git
synced 2024-12-27 01:09:33 +01:00
8 lines
141 B
Go
8 lines
141 B
Go
package format
|
|
|
|
import "net/url"
|
|
|
|
func MatchURLQueryFormat(url *url.URL, format string) bool {
|
|
return url.Query().Get("format") == format
|
|
}
|