[BREAKING] Bump à version 3 #15
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue