Little refactoring

This commit is contained in:
2023-04-01 00:33:59 +02:00
parent 8b3e722ea5
commit b5b293329e
9 changed files with 179 additions and 30 deletions

View File

@@ -12,14 +12,7 @@ type HelloParams struct {
Message string `msgpack:"message" json:"message"`
}
func NewHelloParams() *HelloParams {
return &HelloParams{}
}
type HelloResult struct {
Message string `msgpack:"message" json:"message"`
}
func NewHelloResult() *HelloResult {
return &HelloResult{}
}