Skip to content

Commit 4a95ebc

Browse files
committed
Finalise changes for v5
1 parent 79e82b4 commit 4a95ebc

File tree

2 files changed

+25
-2
lines changed

2 files changed

+25
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Changelog
22
Newest updates are at the top of this file.
33

4-
## May 17 2020 - v5.0.0-beta
4+
## June 1 2020 - v5.0.0
55
* Migration for Go modules (requires new major number) (#138)
66
* ibmmq - Add all string mapping functions from cmqstrc (#142)
77
* ibmmq - Add AIX platform header

README.md

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ For example,
120120
```
121121

122122
* Compile the `ibmmq` component:
123-
*
123+
*
124124
`go install ./src/github.com/ibm-messaging/mq-golang/ibmmq`
125125

126126
* If you plan to use monitoring functions, then compile the `mqmetric` component:
@@ -148,6 +148,29 @@ Support for modules started to be introduced around Go 1.11 and has been firmed
148148
modification level updates in each of the compiler levels since then. The module changes for this
149149
package were developed and tested with Go 1.13.6.
150150

151+
To use the MQ module in your application, your `go.mod` file contains
152+
153+
```
154+
require (
155+
github.com/ibm-messaging/mq-golang/v5 v5.0.0
156+
)
157+
```
158+
159+
and your application code will include
160+
161+
```
162+
import ibmmq "github.com/ibm-messaging/mq-golang/v5/ibmmq"
163+
```
164+
165+
If you have not moved to using modules in your application, you should continue using the older levels
166+
of these packages. For example, you can continue to use `dep` with `Gopkg.toml` referring to
167+
168+
```
169+
[[constraint]]
170+
name = "github.com/ibm-messaging/mq-golang"
171+
version = "4.1.4"
172+
```
173+
151174
## Related Projects
152175

153176
These GitHub-hosted projects are related to or derived from this one. This is not a complete list. Please

0 commit comments

Comments
 (0)