Skip to content

Commit

Permalink
Addressing linter comments.
Browse files Browse the repository at this point in the history
Signed-off-by: hayleycd <[email protected]>
  • Loading branch information
hayleycd committed Nov 8, 2024
1 parent 40a5266 commit 314119b
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions content/en/language_clients/go/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ weight: 5
- Focuses on newly specified data structures in [sigstore/protobuf-specs](https://github.com/sigstore/protobuf-specs)
- Perfect for simple signing and verififcation tasks

`sigstore-go` is currently in beta.
`sigstore-go` is currently in beta.

## Features

Expand All @@ -31,20 +31,21 @@ weight: 5

### Main CLI installation

`sigstore-go` requires Go 1.21 or greater. The package is tested with Go 1.23.
`sigstore-go` requires Go 1.21 or greater. The package is tested with Go 1.23.

To compile/install the CLI, clone [`sigstore-go`](https://github.com/sigstore/sigstore-go) and run.
To compile/install the CLI, clone [`sigstore-go`](https://github.com/sigstore/sigstore-go) and run.

```console
make install
```
Alternatively, you can use `go run cmd/sigstore-go/main.go` to access the CLI, as show in the [example](#cli-example).

Alternatively, you can use `go run cmd/sigstore-go/main.go` to access the CLI, as show in the [example](#cli-example).

## Example

### CLI example

The following is an example of using the sigstore-go CLI to verify a signature.
The following is an example of using the sigstore-go CLI to verify a signature.

```console
go run cmd/sigstore-go/main.go \
Expand All @@ -64,9 +65,10 @@ Verification successful!
...
}
```

### Additional examples

Additional examples are available in the [project documentation](https://github.com/sigstore/sigstore-go#sigstore-go).
Additional examples are available in the [project documentation](https://github.com/sigstore/sigstore-go#sigstore-go).

- [Signing example](https://github.com/sigstore/sigstore-go/blob/main/docs/signing.md#examples)
- [Verifying example](https://github.com/sigstore/sigstore-go/blob/main/docs/verification.md#verification-using-sigstore-go)
Expand Down

0 comments on commit 314119b

Please sign in to comment.