From 472099b7548faef7c384283053eeb6012eed6d2d Mon Sep 17 00:00:00 2001 From: Andrea Zagli Date: Sun, 22 Aug 2021 09:51:23 +0200 Subject: [PATCH] Renamed getRowFromDb to getRowFromMap. --- main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index 40096a9..0b4c734 100644 --- a/main.go +++ b/main.go @@ -37,7 +37,7 @@ func (g *grid) getHeader () string { return header } -func (g *grid) getRowFromDb (m map[string]interface{}) string { +func (g *grid) getRowFromMap (m map[string]interface{}) string { ret := "\n" for _, c := range g.cols { @@ -132,6 +132,6 @@ func main() { fmt.Println(m) - fmt.Println(g.getRowFromDb(m)) + fmt.Println(g.getRowFromMap(m)) } } -- 2.49.0