From f9362525de95718492c2ef6a5103191c7659ceb0 Mon Sep 17 00:00:00 2001 From: Varakh Date: Mon, 3 Jun 2024 21:14:05 +0200 Subject: [PATCH] Minor refactor tackling typos, overhauling README, adding hints about useful resources to README, and avoid any panic/Fatalf from services and init calls #noissue --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 5fe99b3..e918cab 100644 --- a/README.md +++ b/README.md @@ -27,8 +27,7 @@ Contributions are very welcome! * Always abort handler chain with `AbortWithError` * Utils can throw any error * Repositories, handlers and services should always properly return `error` including any `init`-like function ( - best - to avoid them and call in `newXXX`). **Do not abort with `Fatalf` or similar** + best to avoid them and call in `newXXX`). **Do not abort with `Fatalf` or similar** * `log.Fatalf` or `zap.L().Fatal` is allowed in `environment.go` or `app.go` * Look into the `_doc/` folder for [OpenAPI specification](./_doc/api.yaml) and a Postman Collection. * Consider reading [Effective Go](https://go.dev/doc/effective_go)