Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"githubPullRequests.ignoredPullRequestBranches": [
"master"
]
}
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -20,7 +20,7 @@ import (
"fmt"
"net/http"

"github.com/docker-slim/go-update"
"github.com/mintoolkit/go-update"
)

func doUpdate(url string) error {
Expand Down
2 changes: 1 addition & 1 deletion apply.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"os"
"path/filepath"

"github.com/slimtoolkit/go-update/internal/osext"
"github.com/mintoolkit/go-update/internal/osext"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion apply_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"os"
"testing"

"github.com/slimtoolkit/go-update/internal/binarydist"
"github.com/mintoolkit/go-update/internal/binarydist"
)

var (
Expand Down
8 changes: 4 additions & 4 deletions doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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 {
Expand Down Expand Up @@ -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 {
Expand Down Expand Up @@ -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(`
Expand Down
2 changes: 1 addition & 1 deletion patcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down