File tree 3 files changed +46
-0
lines changed
3 files changed +46
-0
lines changed Original file line number Diff line number Diff line change
1
+ # ## Go template
2
+ # If you prefer the allow list template instead of the deny list, see community template:
3
+ # https://github.com/github/gitignore/blob/main/community/Golang/Go.AllowList.gitignore
4
+ #
5
+ # Binaries for programs and plugins
6
+ * .exe
7
+ * .exe~
8
+ * .dll
9
+ * .so
10
+ * .dylib
11
+
12
+ # Test binary, built with `go test -c`
13
+ * .test
14
+
15
+ # Output of the go coverage tool, specifically when used with LiteIDE
16
+ * .out
17
+
18
+ # Dependency directories (remove the comment below to include it)
19
+ # vendor/
20
+
21
+ # Go workspace file
22
+ go.work
23
+
Original file line number Diff line number Diff line change
1
+ # go-sql-raw
2
+
3
+ The main reason that this module has been created was generic querying database without knowing table structure.
4
+
5
+ ## How to use it
6
+
7
+ ``` go
8
+ rows, err: = Db .Query (" SELECT * FROM album" )
9
+
10
+ defer rows.Close ()
11
+ var data []RawStringType
12
+ for rows.Next () {
13
+ rec := Rows2Map (rows)
14
+ data = append (data, rec)
15
+ }
16
+
17
+ ```
18
+
19
+ ## TODO
20
+ * ...
Original file line number Diff line number Diff line change
1
+ module github.com/mysiar-org/go-sql-raw
2
+
3
+ go 1.22.2
You can’t perform that action at this time.
0 commit comments