projects
/
zakgrid_go
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
87da0bf
)
Renamed getRowFromDb to getRowFromMap.
author
Andrea Zagli
<azagli@libero.it>
Sun, 22 Aug 2021 07:51:23 +0000
(09:51 +0200)
committer
Andrea Zagli
<azagli@libero.it>
Sun, 22 Aug 2021 07:51:23 +0000
(09:51 +0200)
main.go
patch
|
blob
|
history
diff --git
a/main.go
b/main.go
index 40096a93fbb1ef534f33fba55e13f5d2044ff861..0b4c734ba24da59e70f74dada634da85b2d8be53 100644
(file)
--- a/
main.go
+++ b/
main.go
@@
-37,7
+37,7
@@
func (g *grid) getHeader () string {
return header
}
-func (g *grid) getRowFrom
Db
(m map[string]interface{}) string {
+func (g *grid) getRowFrom
Map
(m map[string]interface{}) string {
ret := "<tr>\n"
for _, c := range g.cols {
@@
-132,6
+132,6
@@
func main() {
fmt.Println(m)
- fmt.Println(g.getRowFrom
Db
(m))
+ fmt.Println(g.getRowFrom
Map
(m))
}
}