docs: Added documentation for uri

This commit is contained in:
2025-09-09 11:57:39 +01:00
parent 5dc558e27f
commit 772290375b
7 changed files with 176 additions and 11 deletions

View File

@@ -12,8 +12,10 @@ gleam add uri@1
```gleam
import uri
pub fn main() -> Nil {
// TODO: An example of the project in use
pub fn main() {
let uri = uri.parse("http://example.com:8080/path?q=1")
|> result.unwrap(types.empty_uri)
uri.normalise(uri) |> uri.to_string |> echo
}
```