mirror of
https://github.com/Bornholm/formidable.git
synced 2024-12-25 16:29:34 +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
|
|
}
|