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

Commit

Permalink
Updated for error handling
Browse files Browse the repository at this point in the history
  • Loading branch information
YamiOdymel committed Oct 25, 2021
1 parent d442dc5 commit 30bfbd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ $ go get github.com/teacat/goshia/v3
// 初始化 Gorm 至資料庫的連線。
db, err := gorm.Open(mysql.Open(dsn))
if err != nil {
log.Fatalf(err)
log.Fatal(err)
}
// 將 Gorm 帶入給 Goshia 並初始化一個輔助函式。
goshia := goshia.New(db)
Expand Down

0 comments on commit 30bfbd3

Please sign in to comment.