summaryrefslogtreecommitdiff
path: root/pkg/model/echo.go
diff options
context:
space:
mode:
authorAlexander Neonxp Kiryukhin <i@neonxp.ru>2024-10-29 01:21:05 +0300
committerAlexander Neonxp Kiryukhin <i@neonxp.ru>2024-10-29 01:21:05 +0300
commitfd4e0c3112d69061d495dfcf79f6ef62e3c6d5e6 (patch)
treefa55d6e879e3c6d85601d5c2486837f323ffd81d /pkg/model/echo.go
parentb26bd10926447ed59cbf263aef087bb7c04f35eb (diff)
Начальный веб клиентHEADmaster
Diffstat (limited to 'pkg/model/echo.go')
-rw-r--r--pkg/model/echo.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/pkg/model/echo.go b/pkg/model/echo.go
index 5f642da..21dcda6 100644
--- a/pkg/model/echo.go
+++ b/pkg/model/echo.go
@@ -6,10 +6,10 @@ import (
)
type Echo struct {
- Name string
- Description string
- Count int
- Messages []string
+ Name string `json:"name"`
+ Description string `json:"description"`
+ Count int `json:"count"`
+ Messages []string `json:"messages,omitempty"`
}
func (e *Echo) Format() string {