From 567e94ecda78526f636b74390bdc662aba3a583a Mon Sep 17 00:00:00 2001 From: David Justice Date: Fri, 31 May 2019 11:15:52 -0700 Subject: [PATCH] update the readme and the mod file for go version --- README.md | 16 ++++++++++++---- go.mod | 2 ++ 2 files changed, 14 insertions(+), 4 deletions(-) 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