From 71458eaaa72387a50785a0afd5864de26b300dbc Mon Sep 17 00:00:00 2001 From: plar Date: Wed, 31 Jan 2024 00:22:52 -0800 Subject: [PATCH] Fix example in README.md; Package support for older version of Go Signed-off-by: plar --- README.md | 2 ++ go.mod | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e0a202b..a97cc2a 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,8 @@ go get -u github.com/kanisterio/safecli To construct a CLI command, you can use the `NewBuilder` function which initializes a new command builder. You can append arguments, both loggable and sensitive, to the builder: ```go +package main + import "github.com/kanisterio/safecli" func main() { diff --git a/go.mod b/go.mod index 6139262..3986d54 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/kanisterio/safecli -go 1.21.6 +go 1.20.0 require gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c