Updating dependencies

Report a typo

Mary has been working for a very long time on a Go program that interacts with a PostgreSQL database. However, she has an outdated version of the github.com/lib/pq dependency in her go.mod file.

What command should she execute to update the dependency to its latest version?

Enter a short text
___

Create a free account to access the full topic