Skip to content

Commit

Permalink
Fix example in README.md; Package support for older version of Go
Browse files Browse the repository at this point in the history
Signed-off-by: plar <[email protected]>
  • Loading branch information
plar committed Jan 31, 2024
1 parent a1820ee commit 71458ea
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -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

Expand Down

0 comments on commit 71458ea

Please sign in to comment.