summaryrefslogtreecommitdiff
path: root/hola
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordberg.se>2022-03-28 16:00:58 +0200
committerLinus Nordberg <linus@nordberg.se>2022-03-28 16:00:58 +0200
commit1606feaad70f38cba4f1729d3a28cc663c21436c (patch)
tree5a0f14a7a72d9cd9787c78bfaa626a24d114f34c /hola
parentbc197daf8fa7eebd5f0817c23e5978ceb0127e96 (diff)
parent8be06133b33637ae060529123ca4b598f0baa7d1 (diff)
Merge branch 'main' of ssh://git.sigsum.org/testing
Diffstat (limited to 'hola')
-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}))
+}