11 lines
118 B
Go
11 lines
118 B
Go
|
|
package main
|
||
|
|
|
||
|
|
import (
|
||
|
|
"fmt"
|
||
|
|
"net/url"
|
||
|
|
)
|
||
|
|
|
||
|
|
func main() {
|
||
|
|
fmt.Println(url.QueryEscape("http://foo bar/"))
|
||
|
|
}
|