woodpecker/vendor/github.com/Bugagazavr/go-gitlab-client/util.go

11 lines
161 B
Go
Raw Normal View History

2015-07-26 23:25:20 +00:00
package gogitlab
import (
"net/url"
"strings"
)
func encodeParameter(value string) string {
return strings.Replace(url.QueryEscape(value), "/", "%2F", 0)
}