コード例 #1
0
ファイル: index.go プロジェクト: garethstokes/maydah
func apiError(ctx *web.Context, message string) {
	response := ApiResponse{
		Ok:     false,
		Result: message,
	}
	ctx.Write(toJson(response))
}