diff --git a/README.md b/README.md index 277140b..4ea4650 100644 --- a/README.md +++ b/README.md @@ -4,15 +4,23 @@ [![Build Status](https://travis-ci.org/Azure/azure-amqp-common-go.svg?branch=master)](https://travis-ci.org/Azure/azure-amqp-common-go) This project contains reusable components for AMQP based services like Event Hub and Service Bus. You will find -abstractions over authentication, claims-based security, connection string parsing, checkpointing and RPC for AMQP. +abstractions over authentication, claims-based security, connection string parsing and RPC for AMQP. -If you are looking for the Azure Event Hub library for go, you can find it [here](https://github.com/Azure/azure-event-hubs-go). +If you are looking for the Azure Event Hub library for go, you can find it [here](https://aka.ms/azure-event-hubs-go). + +If you are looking for the Azure Service Bus library for go, you can find it [here](https://aka.ms/azure-service-bus-go). ## Install +If you want to use stable versions of the library, please use Go modules. -### via go get +### Using go get with Go modules targeting version 2.x.x ``` bash -go get github.com/Azure/azure-amqp-common-go +go get -u github.com/Azure/azure-amqp-common-go/v2 +``` + +### Using go get with Go modules targeting version 1.x.x +``` bash +go get -u github.com/Azure/azure-amqp-common-go ``` ## Contributing diff --git a/go.mod b/go.mod index 76f87bf..83796ae 100644 --- a/go.mod +++ b/go.mod @@ -1,5 +1,7 @@ module github.com/Azure/azure-amqp-common-go/v2 +go 1.12 + require ( contrib.go.opencensus.io/exporter/ocagent v0.5.0 // indirect github.com/Azure/azure-sdk-for-go v29.0.0+incompatible // indirect