testify icon indicating copy to clipboard operation
testify copied to clipboard

README: fix install command

Open sonofgibs opened this issue 3 years ago • 1 comments

go get resulted in undefined errors on my machine. Once I updated my Go version to 1.19 I got this handy message: 'go get' is no longer supported outside a module. To build and install a command, use 'go install' with a version, like 'go install example.com/cmd@latest'

So updated the documentation to match. :smile:

Summary

Updated installation guidelines

Changes

Updated installation guidelines to adhere to Go 1.19 go get deprecation

Motivation

Simple but annoying to google, easy to fix

go install github.com/stretchr/testify@latest

Related issues

sonofgibs avatar Aug 03 '22 18:08 sonofgibs

drop the GOPATH-mode version and show only the Go Modules

PR has been updated, please re-review @dolmen

sonofgibs avatar Oct 31 '23 14:10 sonofgibs