質問編集履歴

1

説明を追加しました。

2020/08/15 08:52

投稿

AIthon
AIthon

スコア76

test CHANGED
File without changes
test CHANGED
@@ -54,6 +54,14 @@
54
54
 
55
55
  }
56
56
 
57
+ db, err := gorm.Open("postgres", databaseURL)
58
+
59
+ if err != nil {
60
+
61
+ fmt.Printf(err)
62
+
63
+ }
64
+
57
65
  db.CreateTable(&User{})
58
66
 
59
67
  ```