# HG changeset patch # User Florent Aide <florent.aide@gmail.com> # Date 1632754657 -7200 # Mon Sep 27 16:57:37 2021 +0200 # Node ID e5ae50c6d33f48dc3b5be8b7fec2db6ee5709109 # Parent d9423fd8e23ba3708ecffb6daa74ee6401138f00 fix missing imports diff --git a/templates/server/cmdMigrate.gotmpl b/templates/server/cmdMigrate.gotmpl --- a/templates/server/cmdMigrate.gotmpl +++ b/templates/server/cmdMigrate.gotmpl @@ -5,6 +5,7 @@ import ( "github.com/golang-migrate/migrate/v4" "github.com/rs/zerolog" + orusapi "orus.io/orus-io/go-orusapi" "orus.io/orus-io/go-orusapi/database" "{{ joinFilePath .TargetImportPath "migration" }}" diff --git a/templates/server/cmdServe.gotmpl b/templates/server/cmdServe.gotmpl --- a/templates/server/cmdServe.gotmpl +++ b/templates/server/cmdServe.gotmpl @@ -8,6 +8,7 @@ "github.com/jmoiron/sqlx" flags "github.com/orus-io/go-flags" "github.com/prometheus/client_golang/prometheus" + orusapi "orus.io/orus-io/go-orusapi" "orus.io/orus-io/go-orusapi/database" "{{ joinFilePath .TargetImportPath "restapi" "operations" }}" )