chore(examples): improve logging and how to use (#266)

This commit is contained in:
Livio Spring 2023-01-25 06:22:12 +01:00 committed by GitHub
parent b031c1f297
commit 1535ea4f6c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 1 deletions

View file

@ -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))
}