adds StripQueryString()
Compare changes
+ 10
− 0
@@ -294,3 +294,13 @@ func LimitStringToMaxLength(str string, maxLen int) string {
A way to remove query parameters from a given URL
StripQueryString("http://foo.com/bar.png?a=1&b=2")
will result in http://foo.com/bar.png