From 44a88a96c5f27a342275b3c43b277c7881f69b22 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Sun, 26 Jul 2020 20:03:45 +0100 Subject: tidied up doc comment --- pkg/datamaps/reader.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkg/datamaps/reader.go b/pkg/datamaps/reader.go index a754fa1..326224a 100644 --- a/pkg/datamaps/reader.go +++ b/pkg/datamaps/reader.go @@ -150,8 +150,10 @@ func ReadXLSX(ssheet string) FileData { return outer } -// DatamapFromDB fetches an ExtractedDatamapFile from the database given -// the name of a datamap. +// DatamapFromDB creates an ExtractedDatamapFile from the database given +// the name of a datamap. Of course, in this instance, the data is not +// coming from a datamap file (such as datamap.csv) but from datamap data +// previous stored in the database by DatamapToDB or similar. func DatamapFromDB(name string, db *sql.DB) (ExtractedDatamapFile, error) { var out ExtractedDatamapFile -- cgit v1.2.3