Skip to content
This repository was archived by the owner on Feb 5, 2026. It is now read-only.

Commit 09e1fe7

Browse files
authored
Merge pull request #30 from major0/fix/proton-go-api-references
feat: leverage go's mod replace sanely
2 parents 08abccb + 04a533a commit 09e1fe7

20 files changed

Lines changed: 134 additions & 90 deletions

cache.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"sync"
77

88
"github.com/ProtonMail/gopenpgp/v2/crypto"
9-
"github.com/henrybear327/go-proton-api"
9+
"github.com/ProtonMail/go-proton-api"
1010
)
1111

1212
type cacheEntry struct {

common/keyring.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"context"
55

66
"github.com/ProtonMail/gopenpgp/v2/crypto"
7-
"github.com/henrybear327/go-proton-api"
7+
"github.com/ProtonMail/go-proton-api"
88
)
99

1010
/*

common/proton_manager.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package common
22

33
import (
4-
"github.com/henrybear327/go-proton-api"
4+
"github.com/ProtonMail/go-proton-api"
55
)
66

77
func getProtonManager(appVersion string, userAgent string) *proton.Manager {

common/user.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"os"
99

1010
"github.com/ProtonMail/gopenpgp/v2/crypto"
11-
"github.com/henrybear327/go-proton-api"
11+
"github.com/ProtonMail/go-proton-api"
1212
)
1313

1414
type ProtonDriveCredential struct {

delete.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package proton_api_bridge
33
import (
44
"context"
55

6-
"github.com/henrybear327/go-proton-api"
6+
"github.com/ProtonMail/go-proton-api"
77
)
88

99
func (protonDrive *ProtonDrive) moveToTrash(ctx context.Context, parentLinkID string, linkIDs ...string) error {

drive.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"golang.org/x/sync/semaphore"
99

1010
"github.com/ProtonMail/gopenpgp/v2/crypto"
11-
"github.com/henrybear327/go-proton-api"
11+
"github.com/ProtonMail/go-proton-api"
1212
)
1313

1414
type ProtonDrive struct {

drive_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"strings"
66
"testing"
77

8-
"github.com/henrybear327/go-proton-api"
8+
"github.com/ProtonMail/go-proton-api"
99
)
1010

1111
func TestCreateAndDeleteFolder(t *testing.T) {

drive_test_helper.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111

1212
"github.com/henrybear327/Proton-API-Bridge/common"
1313
"github.com/henrybear327/Proton-API-Bridge/utility"
14-
"github.com/henrybear327/go-proton-api"
14+
"github.com/ProtonMail/go-proton-api"
1515

1616
mathrand "math/rand"
1717
)

file.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"strings"
66
"time"
77

8-
"github.com/henrybear327/go-proton-api"
8+
"github.com/ProtonMail/go-proton-api"
99
"github.com/relvacode/iso8601"
1010
)
1111

file_download.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"log"
88

99
"github.com/ProtonMail/gopenpgp/v2/crypto"
10-
"github.com/henrybear327/go-proton-api"
10+
"github.com/ProtonMail/go-proton-api"
1111
)
1212

1313
type FileDownloadReader struct {

0 commit comments

Comments
 (0)