|
package main
|
|
|
|
// Message represents response with information about results of something
|
|
type Message struct {
|
|
Message string `json:"message,omitempty"`
|
|
Errors []string `json:"errors,omitempty"`
|
|
}
|
|
|
|
// data passed into the template
|
|
type templateData struct {
|
|
Token string
|
|
}
|