Skip to content

evervault/evervault-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Evervault

Evervault Go SDK

Go Report Card Go Reference

For up to date usage docs please refer to Evervault docs and godocs

Testing

Required Env

Currently, a significant number of the tests rely on credentials or resource identifiers that are not included in this repo.

The list of required env vars is:

  • EV_APP_UUID - a valid Evervault app uuid
  • EV_API_KEY - an Evervault API Key with function:invoke and relay authenticate
  • EV_ENCLAVE_API_KEY - an Evervault Enclave API Key with enclave:invoke
  • EV_SYNTHETIC_ENDPOINT_URL - an existing Relay destination for the given app
  • EV_INITIALIZATION_ERROR_FUNCTION_NAME - the name of a function which will fail when invoked
  • EV_FUNCTION_NAME - the name of a function which will run when invoked
  • GOEXPERIMENT=synctest - enable synctest experiment on Go 1.24

Running the Tests

To run all tests in the sdk:

go test -v -count=1 -race ./...

To run unit tests only:

go test -v -count=1 --short -race ./...

Linting

Linting is run on all PR with golangci-lint.

To test locally you can run

golangci-lint run ./...

Releases

Packages

Used by

Contributors

Languages