From ad900d6b51b96834ccadd1bc33a6ae7cabb573f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?An=C4=B1l=20=C5=9Eenay?= Date: Sun, 11 Dec 2022 18:23:38 +0300 Subject: [PATCH] Add `AddEndpoint` function to readme --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index e53478a..12d03e4 100644 --- a/README.md +++ b/README.md @@ -295,6 +295,8 @@ endpoints := []Endpoint{ AddEndpoints(endpoints) ``` +**Note:** You can simply add only one endpoint by using `AddEndpoint(endpoint)` + - Arguments: (Method, Path, Tag, Params, Body, Response, Error Response, Description, Security) **NOTE: If you not imported with explicit period (.), you need to get from swagno package:**