-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: go Getting Started & Selective Disclosure Attribution documenta…
…tion are wrong (#1301) Co-authored-by: Joshua Coffey <[email protected]>
- Loading branch information
1 parent
7599bf4
commit 07636c1
Showing
2 changed files
with
14 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,18 +8,21 @@ The Trinsic Go SDK makes it easy to interact with the Trinsic API from any Go ap | |
You have to go to the [other downloads](https://go.dev/dl/) page to get the `arm64` version for sure. | ||
|
||
* NOTE: Windows installation is possible, but requires jumping through a few hoops. More details to come later. | ||
* Make sure you have the okapi native binaries installed on your machine. Default installation instructions are in the [readme.md here](https://github.com/trinsic-id/okapi/) | ||
* You need to have [CGO configured](https://pkg.go.dev/cmd/cgo) for the okapi native binary link | ||
* Issue the following command: | ||
!!! info "Notes: Installing the SDK for Go" | ||
|
||
- Windows installation is possible, but requires jumping through a few hoops. More details to come later. | ||
- Make sure you have the okapi native binaries installed on your machine. Default installation instructions are in the [trinsic-id/okapi](https://github.com/trinsic-id/okapi/) GitHub repository. | ||
- You need to have [CGO configured](https://pkg.go.dev/cmd/cgo) for the okapi native binary link. | ||
|
||
1. Run the following command: | ||
```bash | ||
go install github.com/trinsic-id/sdk/go@latest | ||
``` | ||
* To test the installation, try the following go code: | ||
<!--codeinclude--> | ||
```golang | ||
[GoSample](../../samples/go/sample.go) inside_block:main | ||
``` | ||
2. Test the installation by running the following go code: | ||
<!--codeinclude--> | ||
```golang | ||
[GoSample](../../samples/go/sample.go) inside_block:main | ||
``` | ||
<!--/codeinclude--> | ||
|
||
## Next Steps | ||
|
@@ -59,4 +62,4 @@ go/pkg/mod/github.com/trinsic-id/okapi/[email protected]/okapi/didcomm.go:22:9: undefine | |
Try running with the following env var set: | ||
```bash | ||
CGO_ENABLED=1 go test ./... | ||
``` | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters