We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eace548 commit 9622f0bCopy full SHA for 9622f0b
main.go
@@ -44,6 +44,7 @@ func main() {
44
if !fiber.IsChild() {
45
log.Instance.Info("Starting QuickNote...", zap.String("version", version.GetFormatVersion()))
46
}
47
+
48
if err := orm.Init(config.Instance.Database.Type, config.Instance.Database.URL); err != nil {
49
log.Instance.Fatal("Failed to initialize database",
50
zap.Error(err),
pkg/version/version.go
@@ -23,6 +23,7 @@ func GetShortCommit() string {
23
if len(commit) > 7 {
24
return commit[:7]
25
26
27
return commit
28
29
0 commit comments