]> saetta.ns0.it Git - provagomod/zakegg/commitdiff
Init.
authorAndrea Zagli <azagli@libero.it>
Mon, 12 Sep 2022 05:22:52 +0000 (07:22 +0200)
committerAndrea Zagli <azagli@libero.it>
Mon, 12 Sep 2022 05:22:52 +0000 (07:22 +0200)
go.mod [new file with mode: 0644]
go.sum [new file with mode: 0644]
zakegg.go [new file with mode: 0644]

diff --git a/go.mod b/go.mod
new file mode 100644 (file)
index 0000000..8938203
--- /dev/null
+++ b/go.mod
@@ -0,0 +1,5 @@
+module example.com/zakegg
+
+go 1.19
+
+require github.com/feiin/sqlstring v0.3.0
diff --git a/go.sum b/go.sum
new file mode 100644 (file)
index 0000000..6d6884b
--- /dev/null
+++ b/go.sum
@@ -0,0 +1,2 @@
+github.com/feiin/sqlstring v0.3.0 h1:iyPEFijI2BxpY2M+AuhIvdNManzXa2OwGzuPaEMLUgo=
+github.com/feiin/sqlstring v0.3.0/go.mod h1:xpZTjVUw1nD3hMgF9SMRdPiooKSikLf4PS5j2NTn3RI=
diff --git a/zakegg.go b/zakegg.go
new file mode 100644 (file)
index 0000000..0caee35
--- /dev/null
+++ b/zakegg.go
@@ -0,0 +1,11 @@
+package zakegg
+
+import (
+       "fmt"
+
+       "github.com/feiin/sqlstring"
+)
+
+func hello(name string) {
+       fmt.Println(hello, sqlstring.Escape(name))
+}