Skip to content

Latest commit

 

History

History
43 lines (27 loc) · 1.25 KB

README.md

File metadata and controls

43 lines (27 loc) · 1.25 KB

edh-go

Build Status

Go module to obtain data from the Enterprise Data Hub

Developer Guide

Folder Structure

This repo follows the folder structure specified in golang-standards/project-layout

EDH API Specs

v1.1.2

Keys and Certs

  • You should have generated a private and public key-pair
  • Pass the public key to EDH team
  • Put the private key into the ssl folder. This will be used to sign the request and decrypt the response
  • EDH team should give you their public cert
    • Put this into the ssl folder. This will be used to verify the response

Contributing Your Code

If you would like to contribute to this repo, please open an issue, fork the repo, implement your code and tests and create a PR

Running Tests

This is how tests are run in this repo

# Get gotest (for colored output)
$ go get -u github.com/rakyll/gotest

# Run tests with coverage report
$ cd <path_to_code>
$ gotest -v -coverprofile=cover.out

# Show coverage report in browser
$ go tool cover -html=cover.out