From 325f5a760e1508ae82e30c39a631e93ab1113ab7 Mon Sep 17 00:00:00 2001 From: James Cooper Date: Mon, 19 May 2014 07:30:45 -0700 Subject: [PATCH] ensure that dialect structs comply with interface --- gorp_test.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gorp_test.go b/gorp_test.go index 3a426344..45587853 100644 --- a/gorp_test.go +++ b/gorp_test.go @@ -18,6 +18,13 @@ import ( "time" ) +// verify interface compliance +var _ Dialect = SqliteDialect{} +var _ Dialect = PostgresDialect{} +var _ Dialect = MySQLDialect{} +var _ Dialect = SqlServerDialect{} +var _ Dialect = OracleDialect{} + type Invoice struct { Id int64 Created int64