
This changes variable names that were abbreviations, uses more constants from the net/http package and improves the json decoding / encoding.
6 lines
66 B
Go
6 lines
66 B
Go
package api
|
|
|
|
type Message struct {
|
|
Message string `json:"msg"`
|
|
}
|