github.com/gnolang/gno@v0.0.0-20240520182011-228e9d0192ce/gnovm/tests/files/extern/net/url/url.gno (about)

     1  package url
     2  
     3  type Userinfo struct {
     4  	unexported bool
     5  }
     6  
     7  type URL struct {
     8  	Scheme      string
     9  	Opaque      string    // encoded opaque data
    10  	User        *Userinfo // username and password information
    11  	Host        string    // host or host:port
    12  	Path        string    // path (relative paths may omit leading slash)
    13  	RawPath     string    // encoded path hint (see EscapedPath method); added in Go 1.5
    14  	ForceQuery  bool      // append a query ('?') even if RawQuery is empty; added in Go 1.7
    15  	RawQuery    string    // encoded query values, without '?'
    16  	Fragment    string    // fragment for references, without '#'
    17  	RawFragment string    // encoded fragment hint (see EscapedFragment method); added in Go 1.15
    18  }