# Get Command
# Specify Version
We generally use the go get
command to get the dependencies. For example, in the project root directory, execute:
go get github.com/beego/beego/[email protected]
It will download the dependency Beego with the specific version v2.0.1
。On github
, this part of the code corresponds to the source code with tag
of v2.0.1
in github
.
Refer Beego tags (opens new window) to find out all tags.
# Latest stable version
Using latest
to download the latest stable version:
go get github.com/beego/beego/v2@latest
# Using specific branch
For example, if you want to use some unstable feature, you can specify the development branch develop
:
go get github.com/beego/beego/v2@develop