summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hola/go.mod5
-rw-r--r--hola/go.sum2
-rw-r--r--hola/main.go11
3 files changed, 18 insertions, 0 deletions
diff --git a/hola/go.mod b/hola/go.mod
new file mode 100644
index 0000000..e1ae029
--- /dev/null
+++ b/hola/go.mod
@@ -0,0 +1,5 @@
+module git.sigsum.org/testing/hola
+
+go 1.17
+
+require git.sigsum.org/sigsum-lib-go v0.0.2 // indirect
diff --git a/hola/go.sum b/hola/go.sum
new file mode 100644
index 0000000..03ffc2d
--- /dev/null
+++ b/hola/go.sum
@@ -0,0 +1,2 @@
+git.sigsum.org/sigsum-lib-go v0.0.2 h1:1FwdnraPaasw1D1Lb+flRMJRGLTuZrp17AZ6tx+iT/0=
+git.sigsum.org/sigsum-lib-go v0.0.2/go.mod h1:DVmlcf0MBHy4IZdnZ5DcbsKkGEd0EkOAoLINhLgcndY=
diff --git a/hola/main.go b/hola/main.go
new file mode 100644
index 0000000..f1d34e4
--- /dev/null
+++ b/hola/main.go
@@ -0,0 +1,11 @@
+package main
+
+import (
+ "log"
+
+ "git.sigsum.org/sigsum-lib-go/pkg/hex"
+)
+
+func main() {
+ log.Printf("hola: %s", hex.Serialize([]byte{0,1,2,3}))
+}