Skip to content

Commit

Permalink
feat: ✨ add log fatal to server cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
rangzen committed Jul 2, 2024
1 parent 7457c0c commit fee78b8
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions cmd/gotth-top/main.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
package main

import "github.com/rangzen/gotth-top/handlers"
import (
"log"

"github.com/rangzen/gotth-top/handlers"
)

func main() {
server := handlers.NewServer()
server.Run()
log.Fatal(server.Run())
}

0 comments on commit fee78b8

Please sign in to comment.