fix: change old git urls to anthrove urls
All checks were successful
Gitea Build Check / Build (push) Successful in 5m33s
Gitea Build Check / Build (pull_request) Successful in 5m11s

This commit is contained in:
SoXX 2024-07-19 22:01:04 +02:00
parent f0acfa0bdb
commit 373d31dd15
22 changed files with 38 additions and 38 deletions

View File

@ -1,4 +1,4 @@
![Build Check Runner](https://git.dragse.it/anthrove/otter-space-sdk/v2/actions/workflows/build_check.yaml/badge.svg) ![Build Check Runner](https://git.anthrove.art/anthrove/otter-space-sdk/v2/actions/workflows/build_check.yaml/badge.svg)
[![Bugs](https://sonarqube.dragse.de/api/project_badges/measure?project=Anthrove---OtterSpace-SDK&metric=bugs&token=sqb_96012ffdd64ce721d7f9c82bfa77aa27a5c1fd38)](https://sonarqube.dragse.de/dashboard?id=Anthrove---OtterSpace-SDK) [![Bugs](https://sonarqube.dragse.de/api/project_badges/measure?project=Anthrove---OtterSpace-SDK&metric=bugs&token=sqb_96012ffdd64ce721d7f9c82bfa77aa27a5c1fd38)](https://sonarqube.dragse.de/dashboard?id=Anthrove---OtterSpace-SDK)
[![Code Smells](https://sonarqube.dragse.de/api/project_badges/measure?project=Anthrove---OtterSpace-SDK&metric=code_smells&token=sqb_96012ffdd64ce721d7f9c82bfa77aa27a5c1fd38)](https://sonarqube.dragse.de/dashboard?id=Anthrove---OtterSpace-SDK) [![Code Smells](https://sonarqube.dragse.de/api/project_badges/measure?project=Anthrove---OtterSpace-SDK&metric=code_smells&token=sqb_96012ffdd64ce721d7f9c82bfa77aa27a5c1fd38)](https://sonarqube.dragse.de/dashboard?id=Anthrove---OtterSpace-SDK)
[![Coverage](https://sonarqube.dragse.de/api/project_badges/measure?project=Anthrove---OtterSpace-SDK&metric=coverage&token=sqb_96012ffdd64ce721d7f9c82bfa77aa27a5c1fd38)](https://sonarqube.dragse.de/dashboard?id=Anthrove---OtterSpace-SDK) [![Coverage](https://sonarqube.dragse.de/api/project_badges/measure?project=Anthrove---OtterSpace-SDK&metric=coverage&token=sqb_96012ffdd64ce721d7f9c82bfa77aa27a5c1fd38)](https://sonarqube.dragse.de/dashboard?id=Anthrove---OtterSpace-SDK)
@ -22,7 +22,7 @@ The OtterSpace SDK is a Go package for interacting with the OtterSpace API. It p
To install the OtterSpace SDK, you can use `go get`: To install the OtterSpace SDK, you can use `go get`:
```shell ```shell
go get git.dragse.it/anthrove/otter-space-sdk/v2 go get git.anthrove.art/anthrove/otter-space-sdk/v2
```` ````
## Usage ## Usage
@ -35,8 +35,8 @@ import (
"context" "context"
"log" "log"
"git.dragse.it/anthrove/otter-space-sdk/v2/pkg/database" "git.anthrove.art/anthrove/otter-space-sdk/v2/pkg/database"
"git.dragse.it/anthrove/otter-space-sdk/v2/pkg/models" "git.anthrove.art/anthrove/otter-space-sdk/v2/pkg/models"
) )
func main() { func main() {

2
go.mod
View File

@ -1,4 +1,4 @@
module git.dragse.it/anthrove/otter-space-sdk/v2 module git.anthrove.art/anthrove/otter-space-sdk/v2
go 1.22.0 go 1.22.0

View File

@ -4,9 +4,9 @@ import (
"context" "context"
"errors" "errors"
otterError "git.dragse.it/anthrove/otter-space-sdk/v2/pkg/error" otterError "git.anthrove.art/anthrove/otter-space-sdk/v2/pkg/error"
"git.dragse.it/anthrove/otter-space-sdk/v2/pkg/models" "git.anthrove.art/anthrove/otter-space-sdk/v2/pkg/models"
log "github.com/sirupsen/logrus" log "github.com/sirupsen/logrus"
"gorm.io/gorm" "gorm.io/gorm"
) )

View File

@ -6,8 +6,8 @@ import (
_ "github.com/lib/pq" _ "github.com/lib/pq"
"testing" "testing"
"git.dragse.it/anthrove/otter-space-sdk/v2/pkg/models" "git.anthrove.art/anthrove/otter-space-sdk/v2/pkg/models"
"git.dragse.it/anthrove/otter-space-sdk/v2/test" "git.anthrove.art/anthrove/otter-space-sdk/v2/test"
"gorm.io/gorm" "gorm.io/gorm"
) )

View File

@ -4,8 +4,8 @@ import (
"context" "context"
"errors" "errors"
otterError "git.dragse.it/anthrove/otter-space-sdk/v2/pkg/error" otterError "git.anthrove.art/anthrove/otter-space-sdk/v2/pkg/error"
"git.dragse.it/anthrove/otter-space-sdk/v2/pkg/models" "git.anthrove.art/anthrove/otter-space-sdk/v2/pkg/models"
log "github.com/sirupsen/logrus" log "github.com/sirupsen/logrus"
"gorm.io/gorm" "gorm.io/gorm"
) )

View File

@ -5,8 +5,8 @@ import (
"fmt" "fmt"
"testing" "testing"
"git.dragse.it/anthrove/otter-space-sdk/v2/pkg/models" "git.anthrove.art/anthrove/otter-space-sdk/v2/pkg/models"
"git.dragse.it/anthrove/otter-space-sdk/v2/test" "git.anthrove.art/anthrove/otter-space-sdk/v2/test"
"gorm.io/gorm" "gorm.io/gorm"
) )

View File

@ -4,8 +4,8 @@ import (
"context" "context"
"errors" "errors"
otterError "git.dragse.it/anthrove/otter-space-sdk/v2/pkg/error" otterError "git.anthrove.art/anthrove/otter-space-sdk/v2/pkg/error"
"git.dragse.it/anthrove/otter-space-sdk/v2/pkg/models" "git.anthrove.art/anthrove/otter-space-sdk/v2/pkg/models"
log "github.com/sirupsen/logrus" log "github.com/sirupsen/logrus"
"gorm.io/gorm" "gorm.io/gorm"

View File

@ -5,8 +5,8 @@ import (
"fmt" "fmt"
"testing" "testing"
"git.dragse.it/anthrove/otter-space-sdk/v2/pkg/models" "git.anthrove.art/anthrove/otter-space-sdk/v2/pkg/models"
"git.dragse.it/anthrove/otter-space-sdk/v2/test" "git.anthrove.art/anthrove/otter-space-sdk/v2/test"
"gorm.io/gorm" "gorm.io/gorm"
) )

View File

@ -6,8 +6,8 @@ import (
"gorm.io/gorm/clause" "gorm.io/gorm/clause"
otterError "git.dragse.it/anthrove/otter-space-sdk/v2/pkg/error" otterError "git.anthrove.art/anthrove/otter-space-sdk/v2/pkg/error"
"git.dragse.it/anthrove/otter-space-sdk/v2/pkg/models" "git.anthrove.art/anthrove/otter-space-sdk/v2/pkg/models"
log "github.com/sirupsen/logrus" log "github.com/sirupsen/logrus"
"gorm.io/gorm" "gorm.io/gorm"
) )

View File

@ -6,8 +6,8 @@ import (
"reflect" "reflect"
"testing" "testing"
"git.dragse.it/anthrove/otter-space-sdk/v2/pkg/models" "git.anthrove.art/anthrove/otter-space-sdk/v2/pkg/models"
"git.dragse.it/anthrove/otter-space-sdk/v2/test" "git.anthrove.art/anthrove/otter-space-sdk/v2/test"
"gorm.io/gorm" "gorm.io/gorm"
) )

View File

@ -5,8 +5,8 @@ import (
"errors" "errors"
"time" "time"
otterError "git.dragse.it/anthrove/otter-space-sdk/v2/pkg/error" otterError "git.anthrove.art/anthrove/otter-space-sdk/v2/pkg/error"
"git.dragse.it/anthrove/otter-space-sdk/v2/pkg/models" "git.anthrove.art/anthrove/otter-space-sdk/v2/pkg/models"
gonanoid "github.com/matoous/go-nanoid/v2" gonanoid "github.com/matoous/go-nanoid/v2"
log "github.com/sirupsen/logrus" log "github.com/sirupsen/logrus"
"gorm.io/gorm" "gorm.io/gorm"

View File

@ -7,8 +7,8 @@ import (
"testing" "testing"
"time" "time"
"git.dragse.it/anthrove/otter-space-sdk/v2/pkg/models" "git.anthrove.art/anthrove/otter-space-sdk/v2/pkg/models"
"git.dragse.it/anthrove/otter-space-sdk/v2/test" "git.anthrove.art/anthrove/otter-space-sdk/v2/test"
"gorm.io/gorm" "gorm.io/gorm"
) )

View File

@ -3,7 +3,7 @@ package database
import ( import (
"context" "context"
"git.dragse.it/anthrove/otter-space-sdk/v2/pkg/models" "git.anthrove.art/anthrove/otter-space-sdk/v2/pkg/models"
) )
type OtterSpace interface { type OtterSpace interface {

View File

@ -3,7 +3,7 @@ package database
import ( import (
"context" "context"
"git.dragse.it/anthrove/otter-space-sdk/v2/pkg/models" "git.anthrove.art/anthrove/otter-space-sdk/v2/pkg/models"
) )
type Post interface { type Post interface {

View File

@ -8,8 +8,8 @@ import (
"os" "os"
"time" "time"
"git.dragse.it/anthrove/otter-space-sdk/v2/internal/postgres" "git.anthrove.art/anthrove/otter-space-sdk/v2/internal/postgres"
"git.dragse.it/anthrove/otter-space-sdk/v2/pkg/models" "git.anthrove.art/anthrove/otter-space-sdk/v2/pkg/models"
_ "github.com/lib/pq" _ "github.com/lib/pq"
migrate "github.com/rubenv/sql-migrate" migrate "github.com/rubenv/sql-migrate"
log "github.com/sirupsen/logrus" log "github.com/sirupsen/logrus"

View File

@ -7,9 +7,9 @@ import (
"testing" "testing"
"time" "time"
"git.dragse.it/anthrove/otter-space-sdk/v2/internal/postgres" "git.anthrove.art/anthrove/otter-space-sdk/v2/internal/postgres"
"git.dragse.it/anthrove/otter-space-sdk/v2/pkg/models" "git.anthrove.art/anthrove/otter-space-sdk/v2/pkg/models"
"git.dragse.it/anthrove/otter-space-sdk/v2/test" "git.anthrove.art/anthrove/otter-space-sdk/v2/test"
"gorm.io/gorm" "gorm.io/gorm"
) )

View File

@ -3,7 +3,7 @@ package database
import ( import (
"context" "context"
"git.dragse.it/anthrove/otter-space-sdk/v2/pkg/models" "git.anthrove.art/anthrove/otter-space-sdk/v2/pkg/models"
) )
type Source interface { type Source interface {

View File

@ -3,7 +3,7 @@ package database
import ( import (
"context" "context"
"git.dragse.it/anthrove/otter-space-sdk/v2/pkg/models" "git.anthrove.art/anthrove/otter-space-sdk/v2/pkg/models"
) )
type Tag interface { type Tag interface {

View File

@ -3,7 +3,7 @@ package database
import ( import (
"context" "context"
"git.dragse.it/anthrove/otter-space-sdk/v2/pkg/models" "git.anthrove.art/anthrove/otter-space-sdk/v2/pkg/models"
) )
type TagAlias interface { type TagAlias interface {

View File

@ -3,7 +3,7 @@ package database
import ( import (
"context" "context"
"git.dragse.it/anthrove/otter-space-sdk/v2/pkg/models" "git.anthrove.art/anthrove/otter-space-sdk/v2/pkg/models"
) )
type TagGroup interface { type TagGroup interface {

View File

@ -3,7 +3,7 @@ package database
import ( import (
"context" "context"
"git.dragse.it/anthrove/otter-space-sdk/v2/pkg/models" "git.anthrove.art/anthrove/otter-space-sdk/v2/pkg/models"
) )
type User interface { type User interface {

View File

@ -8,7 +8,7 @@ import (
"strings" "strings"
"time" "time"
"git.dragse.it/anthrove/otter-space-sdk/v2/pkg/models" "git.anthrove.art/anthrove/otter-space-sdk/v2/pkg/models"
migrate "github.com/rubenv/sql-migrate" migrate "github.com/rubenv/sql-migrate"
postgrescontainer "github.com/testcontainers/testcontainers-go/modules/postgres" postgrescontainer "github.com/testcontainers/testcontainers-go/modules/postgres"
"gorm.io/driver/postgres" "gorm.io/driver/postgres"