From 42a09c2e10a5200c2d6e20dc336ad884e24055b4 Mon Sep 17 00:00:00 2001 From: thijsheijden <hi@thijsheijden.nl> Date: Mon, 17 May 2021 18:40:53 +0200 Subject: [PATCH] Deleted document.go --- entity/document.go | 13 ------------- queryConverter.go | 1 + 2 files changed, 1 insertion(+), 13 deletions(-) delete mode 100644 entity/document.go diff --git a/entity/document.go b/entity/document.go deleted file mode 100644 index 08ef36d..0000000 --- a/entity/document.go +++ /dev/null @@ -1,13 +0,0 @@ -package entity - -// Document with Empty struct to retrieve all data from the DB Document -type Document map[string]interface{} - -// GeneralFormat with Empty struct to retrieve all data from the DB Document -type GeneralFormat map[string][]Document - -// ListContainer is a struct that keeps track of the nodes and edges that need to be returned -type ListContainer struct { - NodeList []Document - EdgeList []Document -} diff --git a/queryConverter.go b/queryConverter.go index 9fa906b..8679bcf 100644 --- a/queryConverter.go +++ b/queryConverter.go @@ -4,6 +4,7 @@ package aql type Service struct { } +// NewService creates a new AQL conversion service func NewService() *Service { return &Service{} } -- GitLab