2
0
mirror of https://github.com/hibiken/asynq.git synced 2025-10-26 11:16:12 +08:00

Update doc comments

This commit is contained in:
Ken Hibino
2020-04-13 08:14:55 -07:00
parent 24da281aa7
commit 239ef27a6e
3 changed files with 29 additions and 13 deletions

View File

@@ -197,7 +197,9 @@ func main() {
mux.HandleFunc(tasks.ImageProcessing, tasks.HandleImageProcessingTask)
// ...register other handlers...
srv.Run(mux)
if err := srv.Run(mux); err != nil {
log.Fatalf("could not run server: %v", err)
}
}
```