From: Andrea Zagli Date: Mon, 12 Sep 2022 05:22:52 +0000 (+0200) Subject: Init. X-Git-Url: https://saetta.ns0.it/gitweb?a=commitdiff_plain;h=6940814e4f5539ed7207b6637e7b22377c53595b;p=provagomod%2Fzakegg Init. --- 6940814e4f5539ed7207b6637e7b22377c53595b diff --git a/go.mod b/go.mod new file mode 100644 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 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 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)) +}