-2

How can I use the standard library type Values found here https://golang.org/pkg/net/url/#Values

I try to import net/url and use Values but go fmt automatically deletes it when i save it.

func test(url string) (string, Values) {

}
user1406186
  • 940
  • 3
  • 16
  • 28

1 Answers1

1

The url here is a variable, not a type.

And please modify Values to url.Values.

polo xue
  • 104
  • 4