From 6a8515c51cac8f0536a93e2423caf604c603ba8a Mon Sep 17 00:00:00 2001 From: Dmitri Popov Date: Wed, 20 Jul 2022 23:29:59 -0700 Subject: [PATCH] Bump major version to v3 and add module compatibility --- README.md | 2 +- go.mod | 2 +- receiver.go | 2 +- sender.go | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index d6f9928..aa1edcd 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ Partially implements (tsize server side only): Set of features is sufficient for PXE boot support. ``` go -import "github.com/pin/tftp" +import "github.com/pin/tftp/v3" ``` The package is cohesive to Golang `io`. Particularly it implements diff --git a/go.mod b/go.mod index a6cccdf..a22f3d5 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/pin/tftp +module github.com/pin/tftp/v3 go 1.13 diff --git a/receiver.go b/receiver.go index 0e0f787..7389d5f 100644 --- a/receiver.go +++ b/receiver.go @@ -8,7 +8,7 @@ import ( "strconv" "time" - "github.com/pin/tftp/netascii" + "github.com/pin/tftp/v3/netascii" ) // IncomingTransfer provides methods that expose information associated with diff --git a/sender.go b/sender.go index 47c6c6e..cee468a 100644 --- a/sender.go +++ b/sender.go @@ -8,7 +8,7 @@ import ( "strconv" "time" - "github.com/pin/tftp/netascii" + "github.com/pin/tftp/v3/netascii" ) // OutgoingTransfer provides methods to set the outgoing transfer size and