diff options
author | Rasmus Dahlberg <rasmus@mullvad.net> | 2022-03-28 14:57:04 +0200 |
---|---|---|
committer | Rasmus Dahlberg <rasmus@mullvad.net> | 2022-03-28 14:57:04 +0200 |
commit | 8be06133b33637ae060529123ca4b598f0baa7d1 (patch) | |
tree | 94e02114bb7deeba8b116628a0260340bf7fd81d /hola | |
parent | 7cb91190453a2fdedbc1817431743f7b94a3a412 (diff) |
bring in sigsum-lib-go as dep
Diffstat (limited to 'hola')
-rw-r--r-- | hola/go.mod | 2 | ||||
-rw-r--r-- | hola/go.sum | 2 | ||||
-rw-r--r-- | hola/main.go | 4 |
3 files changed, 7 insertions, 1 deletions
diff --git a/hola/go.mod b/hola/go.mod index 55424a9..e1ae029 100644 --- a/hola/go.mod +++ b/hola/go.mod @@ -1,3 +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 index 3e868ca..f1d34e4 100644 --- a/hola/main.go +++ b/hola/main.go @@ -2,8 +2,10 @@ package main import ( "log" + + "git.sigsum.org/sigsum-lib-go/pkg/hex" ) func main() { - log.Printf("hola") + log.Printf("hola: %s", hex.Serialize([]byte{0,1,2,3})) } |