move respond/replace logic to separate functions

This commit is contained in:
Cubicroot 2021-06-11 10:47:11 +02:00
parent c5e4669fda
commit ac5819dfc9
2 changed files with 94 additions and 65 deletions

View file

@ -2,4 +2,4 @@ package api
import "errors"
var ErrorMessageNotFound = errors.New("Message not found")
var ErrorMessageNotFound = errors.New("message not found")