How to do “go get” on a specific tag of a github repository

前端 未结 6 1480
孤街浪徒
孤街浪徒 2020-12-13 03:35

I am trying to compile the InfluxDB database (version v0.8.8) using go get github.com/influxdb/influxdb

But this pulls the master branch, and I need the

6条回答
  •  醉梦人生
    2020-12-13 04:00

    maven golang plugin allows to play with branch, tag and revision during GET, you can take a look at its test for such cases with GIT repository

提交回复
热议问题