Change module name to new repo account

This commit is contained in:
Daniel Krol 2022-07-11 22:10:19 -04:00
parent 7833015f56
commit 55686cb7b5
19 changed files with 40 additions and 40 deletions

2
go.mod
View file

@ -1,4 +1,4 @@
module orblivion/lbry-id
module lbryio/lbry-id
go 1.17

View file

@ -2,9 +2,9 @@ package main
import (
"log"
"orblivion/lbry-id/auth"
"orblivion/lbry-id/server"
"orblivion/lbry-id/store"
"lbryio/lbry-id/auth"
"lbryio/lbry-id/server"
"lbryio/lbry-id/store"
)
func storeInit() (s store.Store) {

View file

@ -4,8 +4,8 @@ import (
"encoding/json"
"fmt"
"net/http"
"orblivion/lbry-id/auth"
"orblivion/lbry-id/store"
"lbryio/lbry-id/auth"
"lbryio/lbry-id/store"
)
// TODO email verification cycle

View file

@ -9,7 +9,7 @@ import (
"strings"
"testing"
"orblivion/lbry-id/store"
"lbryio/lbry-id/store"
)
func TestServerRegisterSuccess(t *testing.T) {

View file

@ -4,8 +4,8 @@ import (
"encoding/json"
"fmt"
"net/http"
"orblivion/lbry-id/auth"
"orblivion/lbry-id/store"
"lbryio/lbry-id/auth"
"lbryio/lbry-id/store"
)
// DeviceId is decided by the device. UserId is decided by the server, and is

View file

@ -7,8 +7,8 @@ import (
"io/ioutil"
"net/http"
"net/http/httptest"
"orblivion/lbry-id/auth"
"orblivion/lbry-id/store"
"lbryio/lbry-id/auth"
"lbryio/lbry-id/store"
"strings"
"testing"
)

View file

@ -11,9 +11,9 @@ import (
"reflect"
"testing"
"orblivion/lbry-id/auth"
"orblivion/lbry-id/store"
"orblivion/lbry-id/wallet"
"lbryio/lbry-id/auth"
"lbryio/lbry-id/store"
"lbryio/lbry-id/wallet"
)
// Whereas sever_test.go stubs out auth store and wallet, these will use the real thing, but test fewer paths.

View file

@ -5,9 +5,9 @@ import (
"fmt"
"net/http"
"orblivion/lbry-id/auth"
"orblivion/lbry-id/store"
"orblivion/lbry-id/wallet"
"lbryio/lbry-id/auth"
"lbryio/lbry-id/store"
"lbryio/lbry-id/wallet"
)
type ChangePasswordRequest struct {

View file

@ -9,9 +9,9 @@ import (
"strings"
"testing"
"orblivion/lbry-id/auth"
"orblivion/lbry-id/store"
"orblivion/lbry-id/wallet"
"lbryio/lbry-id/auth"
"lbryio/lbry-id/store"
"lbryio/lbry-id/wallet"
)
func TestServerChangePassword(t *testing.T) {

View file

@ -6,8 +6,8 @@ import (
"log"
"net/http"
"net/mail"
"orblivion/lbry-id/auth"
"orblivion/lbry-id/store"
"lbryio/lbry-id/auth"
"lbryio/lbry-id/store"
)
// TODO proper doc comments!

View file

@ -10,9 +10,9 @@ import (
"strings"
"testing"
"orblivion/lbry-id/auth"
"orblivion/lbry-id/store"
"orblivion/lbry-id/wallet"
"lbryio/lbry-id/auth"
"lbryio/lbry-id/store"
"lbryio/lbry-id/wallet"
)
// Implementing interfaces for stubbed out packages

View file

@ -4,9 +4,9 @@ import (
"encoding/json"
"fmt"
"net/http"
"orblivion/lbry-id/auth"
"orblivion/lbry-id/store"
"orblivion/lbry-id/wallet"
"lbryio/lbry-id/auth"
"lbryio/lbry-id/store"
"lbryio/lbry-id/wallet"
)
type WalletRequest struct {

View file

@ -10,9 +10,9 @@ import (
"strings"
"testing"
"orblivion/lbry-id/auth"
"orblivion/lbry-id/store"
"orblivion/lbry-id/wallet"
"lbryio/lbry-id/auth"
"lbryio/lbry-id/store"
"lbryio/lbry-id/wallet"
)
func TestServerGetWallet(t *testing.T) {

View file

@ -6,7 +6,7 @@ import (
"github.com/mattn/go-sqlite3"
"orblivion/lbry-id/auth"
"lbryio/lbry-id/auth"
)
func expectAccountMatch(t *testing.T, s *Store, email auth.Email, password auth.Password) {

View file

@ -9,7 +9,7 @@ import (
"github.com/mattn/go-sqlite3"
"orblivion/lbry-id/auth"
"lbryio/lbry-id/auth"
)
func expectTokenExists(t *testing.T, s *Store, expectedToken auth.AuthToken) {

View file

@ -4,8 +4,8 @@ import (
"testing"
"time"
"orblivion/lbry-id/auth"
"orblivion/lbry-id/wallet"
"lbryio/lbry-id/auth"
"lbryio/lbry-id/wallet"
)
// It involves both wallet and account tables. Should it go in wallet_test.go

View file

@ -11,8 +11,8 @@ import (
"github.com/mattn/go-sqlite3"
"orblivion/lbry-id/auth"
"orblivion/lbry-id/wallet"
"lbryio/lbry-id/auth"
"lbryio/lbry-id/wallet"
)
var (

View file

@ -5,7 +5,7 @@ import (
"os"
"testing"
"orblivion/lbry-id/auth"
"lbryio/lbry-id/auth"
)
func StoreTestInit(t *testing.T) (s Store, tmpFile *os.File) {

View file

@ -6,8 +6,8 @@ import (
"github.com/mattn/go-sqlite3"
"orblivion/lbry-id/auth"
"orblivion/lbry-id/wallet"
"lbryio/lbry-id/auth"
"lbryio/lbry-id/wallet"
)
func expectWalletExists(