From cd44078b179ba300367c6ac4969631357b5fe5f1 Mon Sep 17 00:00:00 2001 From: Jay Date: Tue, 11 Dec 2018 11:49:32 +0800 Subject: [PATCH] fix --- model/commands.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/model/commands.go b/model/commands.go index ab090f5..88dd0ee 100644 --- a/model/commands.go +++ b/model/commands.go @@ -119,7 +119,7 @@ func GetCommands(where map[string]string, offset, limit int, order map[string]st } } - err = x.Select(cmds, query, values...) + err = x.Select(&cmds, query, values...) return }