Simple Bitbucket Connect Go Add-on

Running the add-on from the command line is straight forward, provided we remember to export a couple of environment variables.

  • Configure and launch ngrok with:

    ngrok http 8080
  • Note down the unique https URL generated by ngrok for you.

  • Use the URL to pass the proper configuration to the Go program:

    BASE_URL=https://<generated-for-you> CONSUMER_KEY=<yoursecretkey> go run main.go
  • Go to Bitbucket settings - Manage add-ons - Install add-on from URL and insert the ngrok URL.

  • Browse to one of your repositories.

  • ??

  • Profit.


The Go Gopher

There is no documentation for this package.

Source Files


Path Synopsis