Skip to content
This repository has been archived by the owner on Nov 3, 2024. It is now read-only.

Commit

Permalink
Merge pull request #84 from yoshihiro-shu/yoshi/adjust/go-sum
Browse files Browse the repository at this point in the history
Yoshi/adjust/go sum
  • Loading branch information
yoshihiro-shu authored Oct 28, 2023
2 parents e79dc7d + 4f94358 commit 7a23109
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions backend/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ github.com/go-playground/validator/v10 v10.14.1/go.mod h1:9iXMNT7sEkjXb0I+enO7QX
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc=
github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38=
github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
github.com/google/uuid v1.3.0 h1:t6JiXgmwXMjEs8VusXIJk2BXHsn+wx8BZdTaoZ5fu7I=
github.com/google/uuid v1.3.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
github.com/google/uuid v1.4.0 h1:MtMxsa51/r9yyhkyLsVeVt0B+BGQZzpQiTQ4eHZ8bc4=
github.com/google/uuid v1.4.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
github.com/gorilla/csrf v1.7.1 h1:Ir3o2c1/Uzj6FBxMlAUB6SivgVMy1ONXwYgXn+/aHPE=
Expand Down
4 changes: 2 additions & 2 deletions batch/qiita/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ fn construct_db_url() -> String {
// 環境変数から値を取得します。環境変数が設定されていない場合はデフォルト値を使用します。
let db_host = env::var("DB_HOST").unwrap_or_else(|_| "localhost".to_string());
let db_port = env::var("DB_PORT").unwrap_or_else(|_| "5432".to_string());
let db_user = env::var("DB_USER").unwrap_or_else(|_| "user".to_string());
let db_user = env::var("DB_USER").unwrap_or_else(|_| "postgres".to_string());
let db_password = env::var("DB_PASSWORD").unwrap_or_else(|_| "password".to_string());
let db_name = env::var("DB_NAME").unwrap_or_else(|_| "database".to_string());
let db_name = env::var("DB_NAME").unwrap_or_else(|_| "postgres".to_string());
let db_ssl = env::var("DB_SSL").unwrap_or_else(|_| "disable".to_string());

// SSLの設定に基づいて、SSLモードを指定します。
Expand Down

0 comments on commit 7a23109

Please sign in to comment.