Skip to content
GitHub API v3 > PostgreSQL
Branch: master
Clone or download
se7entyse7en Merge pull request #51 from src-d/rate-limiter-fix
Fix handling of rate limit by checking response headers in transport
Latest commit bcc9909 Jul 17, 2019



This project does not support building as a go module. It needs to be compiled in $GOPATH/src/

To build use:

make build

To update the vendor dependencies, run

GO111MODULE=on go mod tidy
GO111MODULE=on go mod vendor

Kallax Models

In order to update the kallax models, place this project in $GOPATH/src/

Then follow these steps:

# Make sure you are not using modules
unset GO111MODULE

# Get kallax, replace it with mcuadros fork, branch ghsync
go get -u
cd $GOPATH/src/
git remote add mcuadros
git fetch --all
git checkout -b ghsync mcuadros/ghsync

# Build kallax
rm $GOPATH/bin/kallax
go get -u
cd generator/cli/kallax
go install

# Make sure the $GOPATH/bin is in your path, if not run
export PATH=$GOPATH/bin:$PATH

# Back to ghsync, create the dependencies vendor folder
cd $GOPATH/src/
GO111MODULE=on go mod vendor

# Run kallax generation
go generate ./...

# Create the migration files
kallax migrate --input models --out models/sql --name some_name

# Update bindata
make bindata


Contributions are more than welcome, if you are interested please take a look to our source{d} Contributing Guidelines.

Code of Conduct

All activities under source{d} projects are governed by the source{d} code of conduct.


GPL v3.0, see LICENSE.

You can’t perform that action at this time.