Skip to content

Commit 2179c23

Browse files
committed
move 2.0.0 series code to v2 in accordance with go mod rules
Wasn't aware of how that worked when I first wrote this.
1 parent 728cc5f commit 2179c23

File tree

12 files changed

+7
-4
lines changed

12 files changed

+7
-4
lines changed

CHANGES

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,3 +60,6 @@ Release 2.1.1 (2020-05-22)
6060
I Due to upstream changes, the value of the modulation type enumeration
6161
constants has changed. This has been forgotton for the 2.1.0 release
6262
which is why this patch release is needed.
63+
64+
Release 2.1.2 (2020-05-22)
65+
I Fix Go import paths (sorry, this is my first time using go mod)

README

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ only version 2.1.0 and later are available.
1717

1818
To use this library, install libnfc version 1.7.2 or newer and import
1919

20-
github.com/fuzxxl/nfc
20+
github.com/fuzxxl/nfc/v2
2121

2222
into your project. This project uses go modules for versionning and
2323
tries its best to follow the usual guidelines for interface stability.

go.mod

Lines changed: 0 additions & 3 deletions
This file was deleted.

crc.go renamed to v2/crc.go

File renamed without changes.

device.go renamed to v2/device.go

File renamed without changes.

etc.go renamed to v2/etc.go

File renamed without changes.

v2/go.mod

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module github.com/fuzxxl/nfc/v2
2+
3+
go 1.12
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)