From 0525e5e3eedba44fb2e16916d37280f0baefc25c Mon Sep 17 00:00:00 2001 From: Kyle Quest Date: Sun, 7 Jul 2024 15:25:30 -0700 Subject: [PATCH 1/2] updating imports for the fork --- README.md | 4 ++-- apply.go | 2 +- apply_test.go | 2 +- doc.go | 8 ++++---- patcher.go | 2 +- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 006fba0..74a06b3 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# go-update: Build self-updating Go programs [![godoc reference](https://godoc.org/github.com/docker-slim/go-update?status.png)](https://godoc.org/github.com/docker-slim/go-update) +# go-update: Build self-updating Go programs [![godoc reference](https://godoc.org/github.com/mintoolkit/go-update?status.png)](https://godoc.org/github.com/mintoolkit/go-update) ## Note @@ -20,7 +20,7 @@ import ( "fmt" "net/http" - "github.com/docker-slim/go-update" + "github.com/mintoolkit/go-update" ) func doUpdate(url string) error { diff --git a/apply.go b/apply.go index 12fc108..e8ecbdf 100644 --- a/apply.go +++ b/apply.go @@ -12,7 +12,7 @@ import ( "os" "path/filepath" - "github.com/slimtoolkit/go-update/internal/osext" + "github.com/mintoolkit/go-update/internal/osext" ) var ( diff --git a/apply_test.go b/apply_test.go index 0c8d870..4414084 100644 --- a/apply_test.go +++ b/apply_test.go @@ -12,7 +12,7 @@ import ( "os" "testing" - "github.com/slimtoolkit/go-update/internal/binarydist" + "github.com/mintoolkit/go-update/internal/binarydist" ) var ( diff --git a/doc.go b/doc.go index 72a97d1..457ef93 100644 --- a/doc.go +++ b/doc.go @@ -11,7 +11,7 @@ This example shows how to update a program remotely from a URL. "fmt" "net/http" - "github.com/docker-slim/go-update" + "github.com/mintoolkit/go-update" ) func doUpdate(url string) error { @@ -43,7 +43,7 @@ may be applied by implementing the Patcher interface. "encoding/hex" "io" - "github.com/docker-slim/go-update" + "github.com/mintoolkit/go-update" ) func updateWithPatch(patch io.Reader) error { @@ -76,7 +76,7 @@ specified as a hex string. "encoding/hex" "io" - "github.com/docker-slim/go-update" + "github.com/mintoolkit/go-update" ) func updateWithChecksum(binary io.Reader, hexChecksum string) error { @@ -113,7 +113,7 @@ with the private key and distribute the signature along with the update. "encoding/hex" "io" - "github.com/docker-slim/go-update" + "github.com/mintoolkit/go-update" ) var publicKey = []byte(` diff --git a/patcher.go b/patcher.go index 4342725..d26d274 100644 --- a/patcher.go +++ b/patcher.go @@ -3,7 +3,7 @@ package update import ( "io" - "github.com/slimtoolkit/go-update/internal/binarydist" + "github.com/mintoolkit/go-update/internal/binarydist" ) // Patcher defines an interface for applying binary patches to an old item to get an updated item. From 2938d741c8dff60f337f724c1eb7e73f995511c0 Mon Sep 17 00:00:00 2001 From: Kyle Quest Date: Sun, 7 Jul 2024 15:34:27 -0700 Subject: [PATCH 2/2] updating imports --- .vscode/settings.json | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .vscode/settings.json diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..6c2ff60 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,5 @@ +{ + "githubPullRequests.ignoredPullRequestBranches": [ + "master" + ] +} \ No newline at end of file