node-api/types.go

8 lines
202 B
Go
Raw Normal View History

2020-07-08 22:09:19 +00:00
package main
2020-07-09 22:27:23 +00:00
// Message represents response with information about results of something
2020-07-08 22:09:19 +00:00
type Message struct {
2020-07-09 22:27:23 +00:00
Message string `json:"message,omitempty"`
Errors []string `json:"errors,omitempty"`
2020-07-08 22:09:19 +00:00
}