Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
README.md
main.go

README.md

Getting started in Go

  1. If you have not already done so, follow the Google Genomics sign up instructions to generate and download a valid client_secrets.json file.

  2. Install go

  3. Set a $GOPATH for installation of dependent packages. For example to set it to the current working directory:

    export GOPATH=$(pwd)
    
  4. Get the client library and oauth dependencies.

    go get golang.org/x/oauth2
    go get golang.org/x/oauth2/google
    go get google.golang.org/api/genomics/v1
    
  5. Run the code:

    go run main.go
    

More information

Troubleshooting

File an issue if you run into problems and we'll do our best to help!