Skip to content

Instantly share code, notes, and snippets.

@tjmaynes
Created October 12, 2021 18:04
Show Gist options
  • Save tjmaynes/0dbcdf154e0ddaf854564c0448b515af to your computer and use it in GitHub Desktop.
Save tjmaynes/0dbcdf154e0ddaf854564c0448b515af to your computer and use it in GitHub Desktop.
#[actix_web::main]
async fn main() -> std::io::Result<()> {
let database_url = std::env::var("DATABASE_URL").expect("Should set 'DATABASE_URL'");
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment