@@ 2,10 2,16 @@ package gobwebs
import (
"database/sql"
+ "time"
"github.com/labstack/echo/v4"
)
+// Clock is used to pass time around, helps with test mocking
+type Clock interface {
+ Now() time.Time
+}
+
// WebService interface for attached apps
type WebService interface {
RegisterRoutes()