streadway / amqp

Go client for AMQP 0.9.1
http://godoc.org/github.com/streadway/amqp
BSD 2-Clause "Simplified" License
4.88k stars 621 forks source link

Add deprecation warning to go.mod #535

Closed nemith closed 1 year ago

nemith commented 1 year ago

Following the instructions here https://go.dev/ref/mod#go-mod-file-module-deprecation this will deprecate this module and point people to the supported version.

This will show up in linters and with go mod command as well as in the pkg.go.dev website.

nemith commented 1 year ago

I am submitting this as I didn't notice the deprecation in the readme until almost a year later just trying to find some documentation. Adding this will allow linters, go mod, and pkg.go.dev to make it very clear that this isn't supported anymore.