From ca7e6416f9ce0a94bcfd61ec8b40151068ef128b Mon Sep 17 00:00:00 2001 From: George Shaw Date: Mon, 6 Nov 2017 12:12:30 -0600 Subject: [PATCH] readme api curly braces --- pkg/api/server/README.md | 10 +++++----- pkg/api/user/README.md | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/pkg/api/server/README.md b/pkg/api/server/README.md index 1adf7f8..e7a4062 100644 --- a/pkg/api/server/README.md +++ b/pkg/api/server/README.md @@ -9,7 +9,7 @@ Request: Response(): N/A */ -func Status(res http.ResponseWriter, req *http.Request) bool +func Status(res http.ResponseWriter, req *http.Request) bool {} /* Relative API Path: @@ -19,7 +19,7 @@ Request: Response(): N/A */ -func Start(res http.ResponseWriter, req *http.Request) bool +func Start(res http.ResponseWriter, req *http.Request) bool {} /* Relative API Path: @@ -29,7 +29,7 @@ Request: Response(): N/A */ -func Shutdown(res http.ResponseWriter, req *http.Request) bool +func Shutdown(res http.ResponseWriter, req *http.Request) bool {} /* Relative API Path: @@ -39,7 +39,7 @@ Request: Response(): N/A */ -func Restart(res http.ResponseWriter, req *http.Request) bool +func Restart(res http.ResponseWriter, req *http.Request) bool {} /* Relative API Path: @@ -49,5 +49,5 @@ Request: Response(): N/A */ -func Maintenance(res http.ResponseWriter, req *http.Request) bool +func Maintenance(res http.ResponseWriter, req *http.Request) bool {} ``` diff --git a/pkg/api/user/README.md b/pkg/api/user/README.md index 3991c6b..f472847 100644 --- a/pkg/api/user/README.md +++ b/pkg/api/user/README.md @@ -12,7 +12,7 @@ Request: Response(204, 400, 401, 405, 500): N/A */ -func Auth(res http.ResponseWriter, req *http.Request) bool +func Auth(res http.ResponseWriter, req *http.Request) bool {} /* Relative API Path: @@ -25,7 +25,7 @@ Request: Response (204, 400, 405, 500): N/A */ -func Register(res http.ResponseWriter, req *http.Request) bool +func Register(res http.ResponseWriter, req *http.Request) bool {} /* Relative API Path: @@ -35,5 +35,5 @@ Request: Response (204, 405, 500): N/A */ -func Logout(res http.ResponseWriter, req *http.Request) bool +func Logout(res http.ResponseWriter, req *http.Request) bool {} ```