README.md

# Ogre

Types for working with origins and relative paths.
For when the [stdlib uri type](https://hexdocs.pm/gleam_stdlib/gleam/uri.html#Uri) has too many optionals

## Usage
```gleam
let origin = case env {
  Prod -> origin.https("api.example.com")
  Dev | Test -> origin.Origin(http.Http,"localhost", Some(1234))
}
let request = origin.to_request(origin)
  |> request.set_path("/operation")
```

## Development

```sh
gleam run   # Run the project
gleam test  # Run the tests
```

## Credit

Created for [EYG](https://eyg.run/), a new integration focused programming language.