chore(examples): improve logging and how to use (#266)
This commit is contained in:
parent
b031c1f297
commit
1535ea4f6c
3 changed files with 4 additions and 1 deletions
|
@ -93,5 +93,6 @@ func main() {
|
|||
|
||||
lis := fmt.Sprintf("127.0.0.1:%s", port)
|
||||
logrus.Infof("listening on http://%s/", lis)
|
||||
logrus.Info("press ctrl+c to stop")
|
||||
logrus.Fatal(http.ListenAndServe(lis, nil))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue