From a8e05fdf1b45578ad260aca3d239beb8be6197bf Mon Sep 17 00:00:00 2001 From: Unknwon Date: Wed, 6 Aug 2014 17:21:24 -0400 Subject: Use toolbox --- models/models.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'models') diff --git a/models/models.go b/models/models.go index 31509ed349..af9529f40a 100644 --- a/models/models.go +++ b/models/models.go @@ -165,6 +165,10 @@ func GetStatistic() (stats Statistic) { return } +func Ping() error { + return x.Ping() +} + // DumpDatabase dumps all data from database to file system. func DumpDatabase(filePath string) error { return x.DumpAllToFile(filePath) -- cgit v1.2.3