diff --git a/address_test.go b/address_test.go index 1dab9f9..3023da4 100644 --- a/address_test.go +++ b/address_test.go @@ -4,8 +4,8 @@ import ( "context" "testing" - "github.com/ProtonMail/go-proton-api" - "github.com/ProtonMail/go-proton-api/server" + "github.com/henrybear327/go-proton-api" + "github.com/henrybear327/go-proton-api/server" "github.com/stretchr/testify/require" ) diff --git a/attachment_test.go b/attachment_test.go index 42083ca..125010b 100644 --- a/attachment_test.go +++ b/attachment_test.go @@ -7,8 +7,8 @@ import ( "sync" "testing" - "github.com/ProtonMail/go-proton-api" - "github.com/ProtonMail/go-proton-api/server" + "github.com/henrybear327/go-proton-api" + "github.com/henrybear327/go-proton-api/server" "github.com/stretchr/testify/require" ) diff --git a/auth_test.go b/auth_test.go index d666b9e..6a8c8a1 100644 --- a/auth_test.go +++ b/auth_test.go @@ -7,8 +7,8 @@ import ( "time" "github.com/bradenaw/juniper/parallel" - "github.com/ProtonMail/go-proton-api" - "github.com/ProtonMail/go-proton-api/server" + "github.com/henrybear327/go-proton-api" + "github.com/henrybear327/go-proton-api/server" "github.com/stretchr/testify/require" ) diff --git a/contact_test.go b/contact_test.go index a4457f6..f1add59 100644 --- a/contact_test.go +++ b/contact_test.go @@ -7,7 +7,7 @@ import ( "github.com/ProtonMail/gluon/rfc822" "github.com/ProtonMail/gopenpgp/v2/crypto" "github.com/emersion/go-vcard" - "github.com/ProtonMail/go-proton-api" + "github.com/henrybear327/go-proton-api" "github.com/stretchr/testify/require" ) diff --git a/event_test.go b/event_test.go index c8233fd..37c1688 100644 --- a/event_test.go +++ b/event_test.go @@ -6,8 +6,8 @@ import ( "time" "github.com/google/uuid" - "github.com/ProtonMail/go-proton-api" - "github.com/ProtonMail/go-proton-api/server" + "github.com/henrybear327/go-proton-api" + "github.com/henrybear327/go-proton-api/server" "github.com/stretchr/testify/require" ) diff --git a/example_test.go b/example_test.go index a65425b..a13e174 100644 --- a/example_test.go +++ b/example_test.go @@ -5,7 +5,7 @@ import ( "fmt" "time" - "github.com/ProtonMail/go-proton-api" + "github.com/henrybear327/go-proton-api" ) func ExampleManager_NewClient() { diff --git a/future_test.go b/future_test.go index a0705ce..1744440 100644 --- a/future_test.go +++ b/future_test.go @@ -6,7 +6,7 @@ import ( "time" "github.com/ProtonMail/gluon/async" - "github.com/ProtonMail/go-proton-api" + "github.com/henrybear327/go-proton-api" "github.com/stretchr/testify/require" ) diff --git a/go.mod b/go.mod index 2fc0a59..a274390 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/ProtonMail/go-proton-api +module github.com/henrybear327/go-proton-api go 1.22.0 @@ -71,5 +71,3 @@ require ( ) replace github.com/go-resty/resty/v2 => github.com/LBeernaertProton/resty/v2 v2.0.0-20231129100320-dddf8030d93a - -replace github.com/ProtonMail/go-proton-api => github.com/henrybear327/go-proton-api v0.0.0-20250127182155-ab0ad0b85cddd6757b087c8ebf8e67d7bb490e6a diff --git a/helper_test.go b/helper_test.go index a043302..a0913cc 100644 --- a/helper_test.go +++ b/helper_test.go @@ -10,7 +10,7 @@ import ( "github.com/bradenaw/juniper/iterator" "github.com/bradenaw/juniper/stream" "github.com/google/uuid" - "github.com/ProtonMail/go-proton-api" + "github.com/henrybear327/go-proton-api" "github.com/stretchr/testify/require" ) diff --git a/keyring_test.go b/keyring_test.go index 57c4d72..462f010 100644 --- a/keyring_test.go +++ b/keyring_test.go @@ -5,7 +5,7 @@ import ( "github.com/ProtonMail/gopenpgp/v2/crypto" "github.com/ProtonMail/gopenpgp/v2/helper" - "github.com/ProtonMail/go-proton-api" + "github.com/henrybear327/go-proton-api" "github.com/stretchr/testify/require" ) diff --git a/link_file_type_test.go b/link_file_type_test.go index 48cec04..2f878af 100644 --- a/link_file_type_test.go +++ b/link_file_type_test.go @@ -3,7 +3,7 @@ package proton_test import ( "testing" - "github.com/ProtonMail/go-proton-api" + "github.com/henrybear327/go-proton-api" ) func Test_HMAC(t *testing.T) { diff --git a/manager_report_test.go b/manager_report_test.go index 26ca6df..9fd8d4c 100644 --- a/manager_report_test.go +++ b/manager_report_test.go @@ -7,8 +7,8 @@ import ( "mime/multipart" "testing" - "github.com/ProtonMail/go-proton-api" - "github.com/ProtonMail/go-proton-api/server" + "github.com/henrybear327/go-proton-api" + "github.com/henrybear327/go-proton-api/server" "github.com/stretchr/testify/require" ) diff --git a/manager_status_test.go b/manager_status_test.go index 2c5bb55..1f067b7 100644 --- a/manager_status_test.go +++ b/manager_status_test.go @@ -8,8 +8,8 @@ import ( "testing" "time" - "github.com/ProtonMail/go-proton-api" - "github.com/ProtonMail/go-proton-api/server" + "github.com/henrybear327/go-proton-api" + "github.com/henrybear327/go-proton-api/server" "github.com/stretchr/testify/require" ) diff --git a/manager_test.go b/manager_test.go index 02e76f5..1eadfcf 100644 --- a/manager_test.go +++ b/manager_test.go @@ -11,8 +11,8 @@ import ( "testing" "time" - "github.com/ProtonMail/go-proton-api" - "github.com/ProtonMail/go-proton-api/server" + "github.com/henrybear327/go-proton-api" + "github.com/henrybear327/go-proton-api/server" "github.com/stretchr/testify/require" ) diff --git a/message_encrypt_test.go b/message_encrypt_test.go index b5216ff..a5c3c6b 100644 --- a/message_encrypt_test.go +++ b/message_encrypt_test.go @@ -8,7 +8,7 @@ import ( "github.com/ProtonMail/gluon/rfc822" "github.com/ProtonMail/gopenpgp/v2/crypto" - "github.com/ProtonMail/go-proton-api" + "github.com/henrybear327/go-proton-api" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/message_import_test.go b/message_import_test.go index 1478db6..ded7b37 100644 --- a/message_import_test.go +++ b/message_import_test.go @@ -7,8 +7,8 @@ import ( "github.com/ProtonMail/gluon/rfc822" "github.com/bradenaw/juniper/stream" - "github.com/ProtonMail/go-proton-api" - "github.com/ProtonMail/go-proton-api/server" + "github.com/henrybear327/go-proton-api" + "github.com/henrybear327/go-proton-api/server" "github.com/stretchr/testify/require" ) diff --git a/message_send_types_test.go b/message_send_types_test.go index d285968..b38701d 100644 --- a/message_send_types_test.go +++ b/message_send_types_test.go @@ -5,7 +5,7 @@ import ( "github.com/ProtonMail/gluon/rfc822" "github.com/ProtonMail/gopenpgp/v2/crypto" - "github.com/ProtonMail/go-proton-api" + "github.com/henrybear327/go-proton-api" "github.com/stretchr/testify/require" ) diff --git a/message_types_test.go b/message_types_test.go index e885381..ef4463c 100644 --- a/message_types_test.go +++ b/message_types_test.go @@ -5,7 +5,7 @@ import ( "testing" "github.com/ProtonMail/gopenpgp/v2/crypto" - "github.com/ProtonMail/go-proton-api" + "github.com/henrybear327/go-proton-api" "github.com/stretchr/testify/require" ) diff --git a/netctl_test.go b/netctl_test.go index ee9f01f..20a5abe 100644 --- a/netctl_test.go +++ b/netctl_test.go @@ -8,7 +8,7 @@ import ( "net/http/httptest" "testing" - "github.com/ProtonMail/go-proton-api" + "github.com/henrybear327/go-proton-api" ) func TestNetCtl_ReadLimit(t *testing.T) { diff --git a/pool_test.go b/pool_test.go index 615b0c7..0e22318 100644 --- a/pool_test.go +++ b/pool_test.go @@ -9,7 +9,7 @@ import ( "time" "github.com/ProtonMail/gluon/async" - "github.com/ProtonMail/go-proton-api" + "github.com/henrybear327/go-proton-api" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/response_test.go b/response_test.go index 294b4b7..a50deaf 100644 --- a/response_test.go +++ b/response_test.go @@ -10,8 +10,8 @@ import ( "net/url" "testing" - "github.com/ProtonMail/go-proton-api" - "github.com/ProtonMail/go-proton-api/server" + "github.com/henrybear327/go-proton-api" + "github.com/henrybear327/go-proton-api/server" "github.com/stretchr/testify/require" ) diff --git a/server/addresses.go b/server/addresses.go index f9c9cab..908a3e0 100644 --- a/server/addresses.go +++ b/server/addresses.go @@ -4,7 +4,7 @@ import ( "net/http" "github.com/gin-gonic/gin" - "github.com/ProtonMail/go-proton-api" + "github.com/henrybear327/go-proton-api" "golang.org/x/exp/slices" ) diff --git a/server/attachments.go b/server/attachments.go index 9664d5e..4d88e2d 100644 --- a/server/attachments.go +++ b/server/attachments.go @@ -7,7 +7,7 @@ import ( "github.com/ProtonMail/gluon/rfc822" "github.com/gin-gonic/gin" - "github.com/ProtonMail/go-proton-api" + "github.com/henrybear327/go-proton-api" ) func (s *Server) handlePostMailAttachments() gin.HandlerFunc { diff --git a/server/auth.go b/server/auth.go index 8b05a85..4e5872a 100644 --- a/server/auth.go +++ b/server/auth.go @@ -5,7 +5,7 @@ import ( "net/http" "github.com/gin-gonic/gin" - "github.com/ProtonMail/go-proton-api" + "github.com/henrybear327/go-proton-api" "github.com/sirupsen/logrus" ) diff --git a/server/backend/account.go b/server/backend/account.go index 7ad0d4f..bf96b92 100644 --- a/server/backend/account.go +++ b/server/backend/account.go @@ -4,7 +4,7 @@ import ( "github.com/ProtonMail/gopenpgp/v2/crypto" "github.com/bradenaw/juniper/xslices" "github.com/google/uuid" - "github.com/ProtonMail/go-proton-api" + "github.com/henrybear327/go-proton-api" ) type account struct { diff --git a/server/backend/address.go b/server/backend/address.go index 2f84615..914935f 100644 --- a/server/backend/address.go +++ b/server/backend/address.go @@ -3,7 +3,7 @@ package backend import ( "github.com/ProtonMail/gopenpgp/v2/crypto" "github.com/bradenaw/juniper/xslices" - "github.com/ProtonMail/go-proton-api" + "github.com/henrybear327/go-proton-api" ) type address struct { diff --git a/server/backend/api.go b/server/backend/api.go index bc431b0..921962c 100644 --- a/server/backend/api.go +++ b/server/backend/api.go @@ -11,7 +11,7 @@ import ( "github.com/ProtonMail/gluon/rfc822" "github.com/ProtonMail/gopenpgp/v2/crypto" "github.com/bradenaw/juniper/xslices" - "github.com/ProtonMail/go-proton-api" + "github.com/henrybear327/go-proton-api" "golang.org/x/exp/maps" "golang.org/x/exp/slices" ) diff --git a/server/backend/api_auth.go b/server/backend/api_auth.go index 6f7a1e6..07b8235 100644 --- a/server/backend/api_auth.go +++ b/server/backend/api_auth.go @@ -6,7 +6,7 @@ import ( "github.com/ProtonMail/go-srp" "github.com/google/uuid" - "github.com/ProtonMail/go-proton-api" + "github.com/henrybear327/go-proton-api" ) func (b *Backend) NewAuthInfo(username string) (proton.AuthInfo, error) { diff --git a/server/backend/attachment.go b/server/backend/attachment.go index 1121d69..737003e 100644 --- a/server/backend/attachment.go +++ b/server/backend/attachment.go @@ -5,7 +5,7 @@ import ( "github.com/ProtonMail/gluon/rfc822" "github.com/google/uuid" - "github.com/ProtonMail/go-proton-api" + "github.com/henrybear327/go-proton-api" ) func (b *unsafeBackend) createAttData(dataPacket []byte) string { diff --git a/server/backend/backend.go b/server/backend/backend.go index 618b2e4..229aab7 100644 --- a/server/backend/backend.go +++ b/server/backend/backend.go @@ -11,7 +11,7 @@ import ( "github.com/ProtonMail/gopenpgp/v2/crypto" "github.com/bradenaw/juniper/xslices" "github.com/google/uuid" - "github.com/ProtonMail/go-proton-api" + "github.com/henrybear327/go-proton-api" "github.com/sirupsen/logrus" "golang.org/x/exp/maps" "golang.org/x/exp/slices" diff --git a/server/backend/contact.go b/server/backend/contact.go index 508dd99..cfa0472 100644 --- a/server/backend/contact.go +++ b/server/backend/contact.go @@ -7,7 +7,7 @@ import ( "github.com/ProtonMail/gopenpgp/v2/crypto" "github.com/bradenaw/juniper/xslices" "github.com/emersion/go-vcard" - "github.com/ProtonMail/go-proton-api" + "github.com/henrybear327/go-proton-api" ) var globalContactID int32 diff --git a/server/backend/core_settings.go b/server/backend/core_settings.go index bd0daa5..00bbcf7 100644 --- a/server/backend/core_settings.go +++ b/server/backend/core_settings.go @@ -1,7 +1,7 @@ package backend import ( - "github.com/ProtonMail/go-proton-api" + "github.com/henrybear327/go-proton-api" ) func newUserSettings() proton.UserSettings { diff --git a/server/backend/label.go b/server/backend/label.go index c8c882e..a52df6d 100644 --- a/server/backend/label.go +++ b/server/backend/label.go @@ -2,7 +2,7 @@ package backend import ( "github.com/google/uuid" - "github.com/ProtonMail/go-proton-api" + "github.com/henrybear327/go-proton-api" ) type label struct { diff --git a/server/backend/mail_settings.go b/server/backend/mail_settings.go index cad1289..1412a1c 100644 --- a/server/backend/mail_settings.go +++ b/server/backend/mail_settings.go @@ -2,7 +2,7 @@ package backend import ( "github.com/ProtonMail/gluon/rfc822" - "github.com/ProtonMail/go-proton-api" + "github.com/henrybear327/go-proton-api" ) type mailSettings struct { diff --git a/server/backend/message.go b/server/backend/message.go index 8da30c6..d1f2d86 100644 --- a/server/backend/message.go +++ b/server/backend/message.go @@ -8,7 +8,7 @@ import ( "github.com/ProtonMail/gluon/rfc822" "github.com/bradenaw/juniper/xslices" "github.com/google/uuid" - "github.com/ProtonMail/go-proton-api" + "github.com/henrybear327/go-proton-api" "golang.org/x/exp/slices" ) diff --git a/server/backend/observability.go b/server/backend/observability.go index d7f7704..2ebb967 100644 --- a/server/backend/observability.go +++ b/server/backend/observability.go @@ -3,7 +3,7 @@ package backend import ( "time" - "github.com/ProtonMail/go-proton-api" + "github.com/henrybear327/go-proton-api" ) type ObservabilityStatistics struct { diff --git a/server/backend/quark.go b/server/backend/quark.go index 2bee963..74695d3 100644 --- a/server/backend/quark.go +++ b/server/backend/quark.go @@ -4,7 +4,7 @@ import ( "flag" "fmt" - "github.com/ProtonMail/go-proton-api" + "github.com/henrybear327/go-proton-api" ) func (s *Backend) RunQuarkCommand(command string, args ...string) (any, error) { diff --git a/server/backend/types.go b/server/backend/types.go index a35f876..ad790ef 100644 --- a/server/backend/types.go +++ b/server/backend/types.go @@ -7,7 +7,7 @@ import ( "github.com/ProtonMail/gopenpgp/v2/crypto" "github.com/google/uuid" - "github.com/ProtonMail/go-proton-api" + "github.com/henrybear327/go-proton-api" ) type ID uint64 diff --git a/server/backend/updates.go b/server/backend/updates.go index d1d6895..2d304d5 100644 --- a/server/backend/updates.go +++ b/server/backend/updates.go @@ -2,7 +2,7 @@ package backend import ( "github.com/bradenaw/juniper/xslices" - "github.com/ProtonMail/go-proton-api" + "github.com/henrybear327/go-proton-api" ) func merge(updates []update) []update { diff --git a/server/cache.go b/server/cache.go index db7dfb6..3b58b55 100644 --- a/server/cache.go +++ b/server/cache.go @@ -3,7 +3,7 @@ package server import ( "sync" - "github.com/ProtonMail/go-proton-api" + "github.com/henrybear327/go-proton-api" ) func NewAuthCache() AuthCacher { diff --git a/server/cmd/client/client.go b/server/cmd/client/client.go index f520bb6..3709bbf 100644 --- a/server/cmd/client/client.go +++ b/server/cmd/client/client.go @@ -8,7 +8,7 @@ import ( "net" "os" - "github.com/ProtonMail/go-proton-api/server/proto" + "github.com/henrybear327/go-proton-api/server/proto" "github.com/urfave/cli/v2" "google.golang.org/grpc" "google.golang.org/grpc/credentials/insecure" diff --git a/server/cmd/server/main.go b/server/cmd/server/main.go index 0f5329e..261932d 100644 --- a/server/cmd/server/main.go +++ b/server/cmd/server/main.go @@ -7,9 +7,9 @@ import ( "net" "os" - "github.com/ProtonMail/go-proton-api" - "github.com/ProtonMail/go-proton-api/server" - "github.com/ProtonMail/go-proton-api/server/proto" + "github.com/henrybear327/go-proton-api" + "github.com/henrybear327/go-proton-api/server" + "github.com/henrybear327/go-proton-api/server/proto" "github.com/urfave/cli/v2" "google.golang.org/grpc" ) diff --git a/server/contacts.go b/server/contacts.go index abe7c3b..f6f3590 100644 --- a/server/contacts.go +++ b/server/contacts.go @@ -5,8 +5,8 @@ import ( "strconv" "github.com/gin-gonic/gin" - "github.com/ProtonMail/go-proton-api" - "github.com/ProtonMail/go-proton-api/server/backend" + "github.com/henrybear327/go-proton-api" + "github.com/henrybear327/go-proton-api/server/backend" ) func (s *Server) handleGetContacts() gin.HandlerFunc { diff --git a/server/core_settings.go b/server/core_settings.go index eb12c30..120a469 100644 --- a/server/core_settings.go +++ b/server/core_settings.go @@ -4,7 +4,7 @@ import ( "net/http" "github.com/gin-gonic/gin" - "github.com/ProtonMail/go-proton-api" + "github.com/henrybear327/go-proton-api" ) func (s *Server) handleGetUserSettings() gin.HandlerFunc { diff --git a/server/data.go b/server/data.go index 139ac5d..a2fce9c 100644 --- a/server/data.go +++ b/server/data.go @@ -3,8 +3,8 @@ package server import ( "net/http" - "github.com/ProtonMail/go-proton-api" "github.com/gin-gonic/gin" + "github.com/henrybear327/go-proton-api" ) func (s *Server) handlePostDataStats() gin.HandlerFunc { diff --git a/server/events.go b/server/events.go index 9b5853e..1f2a278 100644 --- a/server/events.go +++ b/server/events.go @@ -4,7 +4,7 @@ import ( "net/http" "github.com/gin-gonic/gin" - "github.com/ProtonMail/go-proton-api" + "github.com/henrybear327/go-proton-api" ) func (s *Server) handleGetEvents() gin.HandlerFunc { diff --git a/server/init_test.go b/server/init_test.go index c885b17..b359d55 100644 --- a/server/init_test.go +++ b/server/init_test.go @@ -1,6 +1,6 @@ package server -import "github.com/ProtonMail/go-proton-api/server/backend" +import "github.com/henrybear327/go-proton-api/server/backend" func init() { backend.GenerateKey = backend.FastGenerateKey diff --git a/server/keys.go b/server/keys.go index b67d1c2..18b43e4 100644 --- a/server/keys.go +++ b/server/keys.go @@ -4,7 +4,7 @@ import ( "net/http" "github.com/gin-gonic/gin" - "github.com/ProtonMail/go-proton-api" + "github.com/henrybear327/go-proton-api" ) func (s *Server) handleGetKeys() gin.HandlerFunc { diff --git a/server/labels.go b/server/labels.go index 209d870..9ed86c3 100644 --- a/server/labels.go +++ b/server/labels.go @@ -6,7 +6,7 @@ import ( "github.com/bradenaw/juniper/xslices" "github.com/gin-gonic/gin" - "github.com/ProtonMail/go-proton-api" + "github.com/henrybear327/go-proton-api" ) func (s *Server) handleGetMailLabels() gin.HandlerFunc { diff --git a/server/mail_settings.go b/server/mail_settings.go index 601cea3..0684177 100644 --- a/server/mail_settings.go +++ b/server/mail_settings.go @@ -4,7 +4,7 @@ import ( "net/http" "github.com/gin-gonic/gin" - "github.com/ProtonMail/go-proton-api" + "github.com/henrybear327/go-proton-api" ) func (s *Server) handleGetMailSettings() gin.HandlerFunc { diff --git a/server/messages.go b/server/messages.go index cb52f3d..51644bd 100644 --- a/server/messages.go +++ b/server/messages.go @@ -14,7 +14,7 @@ import ( "github.com/ProtonMail/gopenpgp/v2/crypto" "github.com/bradenaw/juniper/xslices" "github.com/gin-gonic/gin" - "github.com/ProtonMail/go-proton-api" + "github.com/henrybear327/go-proton-api" "golang.org/x/exp/slices" ) @@ -489,14 +489,14 @@ func (s *Server) parseMessage(literal []byte) (*rfc822.Header, []string, []*rfc8 mimeType = "multipart/mixed" children, err := root.Children() // or determine it if there is only one (non-attachment) child - if err == nil && (len(children) - len(atts)) <= 1 { + if err == nil && (len(children)-len(atts)) <= 1 { var isHtml = false var isTxt = false for _, child := range children { contentType, _, err := child.ContentType() if err != nil { continue - }else if contentType == rfc822.TextHTML { + } else if contentType == rfc822.TextHTML { isHtml = true } else if contentType == rfc822.TextPlain { isTxt = true diff --git a/server/proto/server.proto b/server/proto/server.proto index 92f7e3e..b774d16 100644 --- a/server/proto/server.proto +++ b/server/proto/server.proto @@ -1,6 +1,6 @@ syntax = "proto3"; -option go_package = "github.com/ProtonMail/go-proton-api/server/proto"; +option go_package = "github.com/henrybear327/go-proton-api/server/proto"; package proto; diff --git a/server/proxy.go b/server/proxy.go index 801f040..dd84fcb 100644 --- a/server/proxy.go +++ b/server/proxy.go @@ -13,7 +13,7 @@ import ( "strings" "github.com/gin-gonic/gin" - "github.com/ProtonMail/go-proton-api" + "github.com/henrybear327/go-proton-api" ) func (s *proxyServer) newProxy(path string) http.HandlerFunc { diff --git a/server/quark_test.go b/server/quark_test.go index 3235234..da97a12 100644 --- a/server/quark_test.go +++ b/server/quark_test.go @@ -4,7 +4,7 @@ import ( "context" "testing" - "github.com/ProtonMail/go-proton-api" + "github.com/henrybear327/go-proton-api" "github.com/stretchr/testify/require" ) diff --git a/server/router.go b/server/router.go index cd66af1..3ed7fca 100644 --- a/server/router.go +++ b/server/router.go @@ -15,7 +15,7 @@ import ( "github.com/Masterminds/semver/v3" "github.com/gin-gonic/gin" "github.com/google/uuid" - "github.com/ProtonMail/go-proton-api" + "github.com/henrybear327/go-proton-api" ) func initRouter(s *Server) { diff --git a/server/server.go b/server/server.go index 0aa0cb6..3ac0461 100644 --- a/server/server.go +++ b/server/server.go @@ -9,8 +9,8 @@ import ( "github.com/Masterminds/semver/v3" "github.com/bradenaw/juniper/xslices" "github.com/gin-gonic/gin" - "github.com/ProtonMail/go-proton-api" - "github.com/ProtonMail/go-proton-api/server/backend" + "github.com/henrybear327/go-proton-api" + "github.com/henrybear327/go-proton-api/server/backend" ) type AuthCacher interface { diff --git a/server/server_builder.go b/server/server_builder.go index 883af78..456fe45 100644 --- a/server/server_builder.go +++ b/server/server_builder.go @@ -9,8 +9,8 @@ import ( "time" "github.com/gin-gonic/gin" - "github.com/ProtonMail/go-proton-api" - "github.com/ProtonMail/go-proton-api/server/backend" + "github.com/henrybear327/go-proton-api" + "github.com/henrybear327/go-proton-api/server/backend" ) type serverBuilder struct { diff --git a/server/server_test.go b/server/server_test.go index 6c9b5f0..0bc3b88 100644 --- a/server/server_test.go +++ b/server/server_test.go @@ -26,8 +26,8 @@ import ( "github.com/bradenaw/juniper/xslices" "github.com/emersion/go-vcard" "github.com/google/uuid" - "github.com/ProtonMail/go-proton-api" - "github.com/ProtonMail/go-proton-api/server/backend" + "github.com/henrybear327/go-proton-api" + "github.com/henrybear327/go-proton-api/server/backend" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "golang.org/x/exp/slices"