Retirer numéro de version de docstring

This commit is contained in:
Victor Lacasse-Beaudoin 2023-06-08 21:08:20 -04:00
parent 53c5d8f1c6
commit 600e22a645

View file

@ -12,7 +12,7 @@ import (
"github.com/spf13/viper"
)
// GetTransactions lists transactions on GET /v2/transactions http/1.1
// GetTransactions handles the listing of transactions
func GetTransactions(c echo.Context) error {
var statusCode int = http.StatusInternalServerError
var response responses.GetTransactionsResponse
@ -46,7 +46,7 @@ func GetTransactions(c echo.Context) error {
return c.JSON(statusCode, response)
}
// PostTransactions creates transactions on POST /v2/transactions http/1.1
// PostTransactions handles the creation of transactions
func PostTransactions(c echo.Context) error {
var statusCode int = http.StatusInternalServerError
var response responses.PostTransactionsResponse