mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-29 13:21:10 +00:00
10 lines
161 B
Go
10 lines
161 B
Go
package gogitlab
|
|
|
|
import (
|
|
"net/url"
|
|
"strings"
|
|
)
|
|
|
|
func encodeParameter(value string) string {
|
|
return strings.Replace(url.QueryEscape(value), "/", "%2F", 0)
|
|
}
|