dal/pkg/proto/response.go
Anton Nesterov f8e28d2a2e
[fix] add msg field for query resut
Signed-off-by: Anton Nesterov <anton@demiurg.io>
2024-08-21 01:03:28 +02:00

11 lines
186 B
Go

package proto
//go:generate msgp
type Response struct {
Id uint32 `msg:"i"`
RowsAffected int64 `msg:"ra"`
LastInsertId int64 `msg:"li"`
Msg string `msg:"m"`
}