package main import ( "fmt" "net/url" ) func main() { u, _ := url.Parse("https://www.example.com/path?key=value#fragment") fmt.Println(u.RequestURI()) // Output: /path?key=value#fragment }In this example, we first parse a URL using the `url.Parse()` function. Then, we call the `RequestURI()` method on the parsed URL to obtain the request URI. We print this value to the console. This example demonstrates how to use the `RequestURI()` method of the `net/url` package to obtain the request URI of a parsed URL. The package library being used here is `net/url`.