From 85e37af28df8a2a05e4528388ea0695746a81451 Mon Sep 17 00:00:00 2001 From: Fred Boniface Date: Mon, 17 Jul 2023 12:23:32 +0100 Subject: [PATCH] Try importing types --- src/main.go | 2 ++ src/{database => mongo}/access.go | 0 src/{database => mongo}/client.go | 0 3 files changed, 2 insertions(+) rename src/{database => mongo}/access.go (100%) rename src/{database => mongo}/client.go (100%) diff --git a/src/main.go b/src/main.go index 9cb1c34..0d18203 100644 --- a/src/main.go +++ b/src/main.go @@ -2,8 +2,10 @@ package main import ( "git.fjla.uk/owlboard/mq-client/helpers" + "git.fjla.uk/owlboard/go-types/pkg/database" ) func main() { helpers.Out("Initialised OwlBoard MQ Client " + helpers.Version, 0) + var stop := database.Stop } \ No newline at end of file diff --git a/src/database/access.go b/src/mongo/access.go similarity index 100% rename from src/database/access.go rename to src/mongo/access.go diff --git a/src/database/client.go b/src/mongo/client.go similarity index 100% rename from src/database/client.go rename to src/mongo/client.go