Downgrading dependencies

Report a typo

Bruno has been working with a few external dependencies in his Go project. However, he needs to install previous versions of some dependencies because the latest versions have undocumented issues.

He needs to downgrade the dependencies to the following versions:

github.com/lib/pq - version 1.10.2

github.com/json-iterator/go - version 1.1.11

Help Bruno by entering the commands below to properly install previous versions of the listed dependencies — each command you enter should be in a new line in the text-box below, for example:

go get github.com/...
go get github.com/...

Tip: Remember we can specify the version by using go get [email protected]

Enter a short text

Create a free account to access the full topic