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 go 1.17

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -11,9 +11,9 @@ import (
"reflect" "reflect"
"testing" "testing"
"orblivion/lbry-id/auth" "lbryio/lbry-id/auth"
"orblivion/lbry-id/store" "lbryio/lbry-id/store"
"orblivion/lbry-id/wallet" "lbryio/lbry-id/wallet"
) )
// Whereas sever_test.go stubs out auth store and wallet, these will use the real thing, but test fewer paths. // 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" "fmt"
"net/http" "net/http"
"orblivion/lbry-id/auth" "lbryio/lbry-id/auth"
"orblivion/lbry-id/store" "lbryio/lbry-id/store"
"orblivion/lbry-id/wallet" "lbryio/lbry-id/wallet"
) )
type ChangePasswordRequest struct { type ChangePasswordRequest struct {

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -4,8 +4,8 @@ import (
"testing" "testing"
"time" "time"
"orblivion/lbry-id/auth" "lbryio/lbry-id/auth"
"orblivion/lbry-id/wallet" "lbryio/lbry-id/wallet"
) )
// It involves both wallet and account tables. Should it go in wallet_test.go // 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" "github.com/mattn/go-sqlite3"
"orblivion/lbry-id/auth" "lbryio/lbry-id/auth"
"orblivion/lbry-id/wallet" "lbryio/lbry-id/wallet"
) )
var ( var (

View file

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

View file

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