From a51b5e684074626427e61b5cd3a0ac194aa56adf Mon Sep 17 00:00:00 2001 From: Joris <j.r.j.lelieveld@students.uu.nl> Date: Fri, 16 Apr 2021 15:47:30 +0200 Subject: [PATCH] One empty line because the linter demanded so --- internal/usecases/convertquery/aql.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/internal/usecases/convertquery/aql.go b/internal/usecases/convertquery/aql.go index 8adcb06..02c7811 100644 --- a/internal/usecases/convertquery/aql.go +++ b/internal/usecases/convertquery/aql.go @@ -5,7 +5,9 @@ import ( "fmt" ) -/* ConvertQuery converts a json string to an AQL query +/* +ConvertQuery converts a json string to an AQL query + Parameters: jsonMsg is the JSON file directly outputted by the drag and drop query builder in the frontend Return: a string containing the corresponding AQL query and an error */ @@ -21,7 +23,7 @@ func (s *Service) ConvertQuery(jsonMsg *[]byte) (*string, error) { return result, nil } -/*convertJSONtoStruct reads a JSON file and sorts the data into the appropriate structs +/* convertJSONtoStruct reads a JSON file and sorts the data into the appropriate structs Parameters: jsonMsg is the JSON file directly outputted by the drag and drop query builder in the frontend Return: parsedJSON is a struct with the same structure and holding the same data as jsonMsg -- GitLab