updated import name with 'deprecated-'

This commit is contained in:
pb 2024-07-29 18:02:29 +02:00
parent e4b5b8a341
commit c4efdc8bd9
26 changed files with 39 additions and 39 deletions

View File

@ -1,7 +1,7 @@
package controllers
import (
"cloud.o-forge.io/core/oc-catalog/models"
"cloud.o-forge.io/core/deprecated-oc-catalog/models"
beego "github.com/beego/beego/v2/server/web"
)

View File

@ -1,7 +1,7 @@
package controllers
import (
"cloud.o-forge.io/core/oc-catalog/models"
"cloud.o-forge.io/core/deprecated-oc-catalog/models"
beego "github.com/beego/beego/v2/server/web"
"github.com/go-playground/validator/v10"

View File

@ -1,7 +1,7 @@
package controllers
import (
"cloud.o-forge.io/core/oc-catalog/models"
"cloud.o-forge.io/core/deprecated-oc-catalog/models"
beego "github.com/beego/beego/v2/server/web"
"github.com/go-playground/validator/v10"

View File

@ -3,7 +3,7 @@ package controllers
import (
"time"
"cloud.o-forge.io/core/oc-catalog/models"
"cloud.o-forge.io/core/deprecated-oc-catalog/models"
"github.com/beego/beego/v2/core/logs"
beego "github.com/beego/beego/v2/server/web"
)

View File

@ -1,7 +1,7 @@
package controllers
import (
"cloud.o-forge.io/core/oc-catalog/models"
"cloud.o-forge.io/core/deprecated-oc-catalog/models"
beego "github.com/beego/beego/v2/server/web"
)

View File

@ -1,7 +1,7 @@
package controllers
import (
"cloud.o-forge.io/core/oc-catalog/models"
"cloud.o-forge.io/core/deprecated-oc-catalog/models"
beego "github.com/beego/beego/v2/server/web"
)

View File

@ -1,7 +1,7 @@
package controllers
import (
"cloud.o-forge.io/core/oc-catalog/models"
"cloud.o-forge.io/core/deprecated-oc-catalog/models"
beego "github.com/beego/beego/v2/server/web"
)

View File

@ -3,7 +3,7 @@ package controllers
import (
"time"
"cloud.o-forge.io/core/oc-catalog/models"
"cloud.o-forge.io/core/deprecated-oc-catalog/models"
"github.com/beego/beego/v2/core/logs"
beego "github.com/beego/beego/v2/server/web"
"github.com/vk496/cron"

View File

@ -1,7 +1,7 @@
package controllers
import (
"cloud.o-forge.io/core/oc-catalog/models"
"cloud.o-forge.io/core/deprecated-oc-catalog/models"
beego "github.com/beego/beego/v2/server/web"
)

View File

@ -3,9 +3,9 @@ package main
import (
"os"
"cloud.o-forge.io/core/oc-catalog/conf"
"cloud.o-forge.io/core/oc-catalog/routers"
"cloud.o-forge.io/core/oc-catalog/services"
"cloud.o-forge.io/core/deprecated-oc-catalog/conf"
"cloud.o-forge.io/core/deprecated-oc-catalog/routers"
"cloud.o-forge.io/core/deprecated-oc-catalog/services"
"github.com/beego/beego/logs"
beego "github.com/beego/beego/v2/server/web"

View File

@ -5,8 +5,8 @@ import (
"fmt"
"strings"
"cloud.o-forge.io/core/oc-catalog/models/rtype"
"cloud.o-forge.io/core/oc-catalog/services"
"cloud.o-forge.io/core/deprecated-oc-catalog/models/rtype"
"cloud.o-forge.io/core/deprecated-oc-catalog/services"
structtomap "github.com/Klathmon/StructToMap"
"github.com/beego/beego/v2/core/logs"
"go.mongodb.org/mongo-driver/bson/primitive"

View File

@ -1,8 +1,8 @@
package models
import (
"cloud.o-forge.io/core/oc-catalog/models/rtype"
"cloud.o-forge.io/core/oc-catalog/services"
"cloud.o-forge.io/core/deprecated-oc-catalog/models/rtype"
"cloud.o-forge.io/core/deprecated-oc-catalog/services"
"github.com/beego/beego/v2/core/logs"
"go.mongodb.org/mongo-driver/bson/primitive"
)

View File

@ -4,8 +4,8 @@ import (
"net"
"time"
"cloud.o-forge.io/core/oc-catalog/models/rtype"
"cloud.o-forge.io/core/oc-catalog/services"
"cloud.o-forge.io/core/deprecated-oc-catalog/models/rtype"
"cloud.o-forge.io/core/deprecated-oc-catalog/services"
"github.com/beego/beego/v2/core/logs"
"go.mongodb.org/mongo-driver/bson/primitive"
)

View File

@ -3,8 +3,8 @@ package models
import (
"errors"
"cloud.o-forge.io/core/oc-catalog/models/rtype"
"cloud.o-forge.io/core/oc-catalog/services"
"cloud.o-forge.io/core/deprecated-oc-catalog/models/rtype"
"cloud.o-forge.io/core/deprecated-oc-catalog/services"
"github.com/beego/beego/v2/core/logs"
"go.mongodb.org/mongo-driver/bson"
"go.mongodb.org/mongo-driver/bson/primitive"

View File

@ -1,7 +1,7 @@
package models
import (
"cloud.o-forge.io/core/oc-catalog/models/rtype"
"cloud.o-forge.io/core/deprecated-oc-catalog/models/rtype"
)
type Link struct {

View File

@ -1,7 +1,7 @@
package rtype
import (
"cloud.o-forge.io/core/oc-catalog/services"
"cloud.o-forge.io/core/deprecated-oc-catalog/services"
"github.com/beego/beego/v2/core/logs"
"go.mongodb.org/mongo-driver/mongo"
)

View File

@ -4,7 +4,7 @@ import (
"errors"
"time"
"cloud.o-forge.io/core/oc-catalog/services"
"cloud.o-forge.io/core/deprecated-oc-catalog/services"
"github.com/beego/beego/v2/core/logs"
"github.com/vk496/cron"
"go.mongodb.org/mongo-driver/bson/primitive"

View File

@ -3,7 +3,7 @@ package models
import (
"strings"
"cloud.o-forge.io/core/oc-catalog/services"
"cloud.o-forge.io/core/deprecated-oc-catalog/services"
"github.com/beego/beego/v2/core/logs"
"go.mongodb.org/mongo-driver/bson"

View File

@ -4,8 +4,8 @@ import (
"fmt"
"strings"
"cloud.o-forge.io/core/oc-catalog/models/rtype"
"cloud.o-forge.io/core/oc-catalog/services"
"cloud.o-forge.io/core/deprecated-oc-catalog/models/rtype"
"cloud.o-forge.io/core/deprecated-oc-catalog/services"
"github.com/beego/beego/v2/core/logs"
"go.mongodb.org/mongo-driver/bson/primitive"
)

View File

@ -9,9 +9,9 @@ import (
"sort"
"time"
"cloud.o-forge.io/core/oc-catalog/models/rtype"
swagger "cloud.o-forge.io/core/oc-catalog/selfapi"
"cloud.o-forge.io/core/oc-catalog/services"
"cloud.o-forge.io/core/deprecated-oc-catalog/models/rtype"
swagger "cloud.o-forge.io/core/deprecated-oc-catalog/selfapi"
"cloud.o-forge.io/core/deprecated-oc-catalog/services"
"github.com/beego/beego/v2/core/logs"
"github.com/vk496/cron"
"go.mongodb.org/mongo-driver/bson/primitive"

View File

@ -4,8 +4,8 @@ import (
"context"
"errors"
"cloud.o-forge.io/core/oc-catalog/models/rtype"
"cloud.o-forge.io/core/oc-catalog/services"
"cloud.o-forge.io/core/deprecated-oc-catalog/models/rtype"
"cloud.o-forge.io/core/deprecated-oc-catalog/services"
"github.com/beego/beego/v2/core/logs"
"go.mongodb.org/mongo-driver/bson/primitive"
"go.mongodb.org/mongo-driver/mongo"

View File

@ -4,8 +4,8 @@ import (
"reflect"
"strings"
"cloud.o-forge.io/core/oc-catalog/controllers"
"cloud.o-forge.io/core/oc-catalog/models"
"cloud.o-forge.io/core/deprecated-oc-catalog/controllers"
"cloud.o-forge.io/core/deprecated-oc-catalog/models"
"github.com/beego/beego/v2/core/logs"
beego "github.com/beego/beego/v2/server/web"
"github.com/beego/beego/v2/server/web/context"

View File

@ -12,8 +12,8 @@ import (
"os"
"strings"
"cloud.o-forge.io/core/oc-catalog/controllers"
"cloud.o-forge.io/core/oc-catalog/services"
"cloud.o-forge.io/core/deprecated-oc-catalog/controllers"
"cloud.o-forge.io/core/deprecated-oc-catalog/services"
"github.com/beego/beego/v2/core/logs"

View File

@ -3,9 +3,9 @@ package services
import (
"os"
conf "cloud.o-forge.io/core/oc-catalog/conf"
conf "cloud.o-forge.io/core/deprecated-oc-catalog/conf"
SelfAPI "cloud.o-forge.io/core/oc-catalog/selfapi"
SelfAPI "cloud.o-forge.io/core/deprecated-oc-catalog/selfapi"
"github.com/beego/beego/v2/core/logs"
beego "github.com/beego/beego/v2/server/web"
)

View File

@ -1,7 +1,7 @@
package services
import (
"cloud.o-forge.io/core/oc-catalog/conf"
"cloud.o-forge.io/core/deprecated-oc-catalog/conf"
)
func Init() {

View File

@ -4,7 +4,7 @@ import (
"context"
"time"
"cloud.o-forge.io/core/oc-catalog/conf"
"cloud.o-forge.io/core/deprecated-oc-catalog/conf"
"github.com/beego/beego/v2/core/logs"
"go.mongodb.org/mongo-driver/mongo"