mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-29 04:22:24 -05:00
[feature] Move to code.superseriousbusiness.org
This commit is contained in:
parent
152bcb43b6
commit
ab10266bff
1195 changed files with 4921 additions and 4918 deletions
|
|
@ -24,8 +24,8 @@ import (
|
|||
"fmt"
|
||||
"time"
|
||||
|
||||
transmodel "code.superseriousbusiness.org/gotosocial/internal/trans/model"
|
||||
"github.com/mitchellh/mapstructure"
|
||||
transmodel "github.com/superseriousbusiness/gotosocial/internal/trans/model"
|
||||
)
|
||||
|
||||
func newDecoder(target interface{}) (*mapstructure.Decoder, error) {
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ import (
|
|||
"fmt"
|
||||
"os"
|
||||
|
||||
transmodel "github.com/superseriousbusiness/gotosocial/internal/trans/model"
|
||||
transmodel "code.superseriousbusiness.org/gotosocial/internal/trans/model"
|
||||
)
|
||||
|
||||
// accountEncode handles special fields like private + public keys on accounts
|
||||
|
|
|
|||
|
|
@ -21,8 +21,8 @@ import (
|
|||
"fmt"
|
||||
"os"
|
||||
|
||||
"github.com/superseriousbusiness/gotosocial/internal/db"
|
||||
transmodel "github.com/superseriousbusiness/gotosocial/internal/trans/model"
|
||||
"code.superseriousbusiness.org/gotosocial/internal/db"
|
||||
transmodel "code.superseriousbusiness.org/gotosocial/internal/trans/model"
|
||||
)
|
||||
|
||||
func (e *exporter) exportAccounts(ctx context.Context, where []db.Where, file *os.File) ([]*transmodel.Account, error) {
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ package trans
|
|||
import (
|
||||
"context"
|
||||
|
||||
"github.com/superseriousbusiness/gotosocial/internal/db"
|
||||
"code.superseriousbusiness.org/gotosocial/internal/db"
|
||||
)
|
||||
|
||||
// Exporter wraps functionality for exporting entries from the database to a file.
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ import (
|
|||
"fmt"
|
||||
"os"
|
||||
|
||||
"github.com/superseriousbusiness/gotosocial/internal/db"
|
||||
"code.superseriousbusiness.org/gotosocial/internal/db"
|
||||
)
|
||||
|
||||
func (e *exporter) ExportMinimal(ctx context.Context, path string) error {
|
||||
|
|
|
|||
|
|
@ -23,9 +23,9 @@ import (
|
|||
"os"
|
||||
"testing"
|
||||
|
||||
"code.superseriousbusiness.org/gotosocial/internal/trans"
|
||||
"github.com/google/uuid"
|
||||
"github.com/stretchr/testify/suite"
|
||||
"github.com/superseriousbusiness/gotosocial/internal/trans"
|
||||
)
|
||||
|
||||
type ExportMinimalTestSuite struct {
|
||||
|
|
|
|||
|
|
@ -25,9 +25,9 @@ import (
|
|||
"io"
|
||||
"os"
|
||||
|
||||
"github.com/superseriousbusiness/gotosocial/internal/config"
|
||||
"github.com/superseriousbusiness/gotosocial/internal/log"
|
||||
transmodel "github.com/superseriousbusiness/gotosocial/internal/trans/model"
|
||||
"code.superseriousbusiness.org/gotosocial/internal/config"
|
||||
"code.superseriousbusiness.org/gotosocial/internal/log"
|
||||
transmodel "code.superseriousbusiness.org/gotosocial/internal/trans/model"
|
||||
)
|
||||
|
||||
func (i *importer) Import(ctx context.Context, path string) error {
|
||||
|
|
|
|||
|
|
@ -23,12 +23,12 @@ import (
|
|||
"os"
|
||||
"testing"
|
||||
|
||||
"code.superseriousbusiness.org/gotosocial/internal/gtsmodel"
|
||||
"code.superseriousbusiness.org/gotosocial/internal/state"
|
||||
"code.superseriousbusiness.org/gotosocial/internal/trans"
|
||||
"code.superseriousbusiness.org/gotosocial/testrig"
|
||||
"github.com/google/uuid"
|
||||
"github.com/stretchr/testify/suite"
|
||||
"github.com/superseriousbusiness/gotosocial/internal/gtsmodel"
|
||||
"github.com/superseriousbusiness/gotosocial/internal/state"
|
||||
"github.com/superseriousbusiness/gotosocial/internal/trans"
|
||||
"github.com/superseriousbusiness/gotosocial/testrig"
|
||||
)
|
||||
|
||||
type ImportMinimalTestSuite struct {
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ package trans
|
|||
import (
|
||||
"context"
|
||||
|
||||
"github.com/superseriousbusiness/gotosocial/internal/db"
|
||||
"code.superseriousbusiness.org/gotosocial/internal/db"
|
||||
)
|
||||
|
||||
// Importer wraps functionality for importing entries from a file into the database.
|
||||
|
|
|
|||
|
|
@ -18,11 +18,11 @@
|
|||
package trans_test
|
||||
|
||||
import (
|
||||
"code.superseriousbusiness.org/gotosocial/internal/db"
|
||||
"code.superseriousbusiness.org/gotosocial/internal/gtsmodel"
|
||||
"code.superseriousbusiness.org/gotosocial/internal/state"
|
||||
"code.superseriousbusiness.org/gotosocial/testrig"
|
||||
"github.com/stretchr/testify/suite"
|
||||
"github.com/superseriousbusiness/gotosocial/internal/db"
|
||||
"github.com/superseriousbusiness/gotosocial/internal/gtsmodel"
|
||||
"github.com/superseriousbusiness/gotosocial/internal/state"
|
||||
"github.com/superseriousbusiness/gotosocial/testrig"
|
||||
)
|
||||
|
||||
type TransTestSuite struct {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue