Last active
October 12, 2021 18:08
-
-
Save tjmaynes/4affc84b49a5bd2c172176a11f25f128 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
use sqlx::{Pool, Postgres, postgres::PgPoolOptions}; | |
... | |
struct AppState { | |
db_conn: Pool<Postgres> | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment