1. typeのbuild error
src/main.go:109:25: missing type in composite literal
2.原因:
struct 初期化時にtypeの付け忘れ
3.code
・誤り
rt := M{"err":0,"msg":{"okay":okay,"ng":max-okay}};
・正
rt := M{"err":0,"msg":M{"okay":okay,"ng":max-okay}};
4.type M の定義
type M map[string]interface{};