modify models to schemas
This commit is contained in:
@@ -6,7 +6,7 @@ import (
|
||||
|
||||
"backend/app/http/storages"
|
||||
"backend/app/http/tenants"
|
||||
"backend/database/models/qvyun_v2/public/model"
|
||||
"backend/database/schemas/public/model"
|
||||
"backend/pkg/storage"
|
||||
"backend/providers/jwt"
|
||||
|
||||
|
||||
@@ -5,8 +5,8 @@ import (
|
||||
"database/sql"
|
||||
"time"
|
||||
|
||||
"backend/database/models/qvyun_v2/public/model"
|
||||
"backend/database/models/qvyun_v2/public/table"
|
||||
"backend/database/schemas/public/model"
|
||||
"backend/database/schemas/public/table"
|
||||
"backend/providers/otel"
|
||||
|
||||
. "github.com/go-jet/jet/v2/postgres"
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
"backend/app/http/tenants"
|
||||
"backend/app/http/users"
|
||||
"backend/app/requests"
|
||||
"backend/database/models/qvyun_v2/public/model"
|
||||
"backend/database/schemas/public/model"
|
||||
"backend/providers/jwt"
|
||||
|
||||
"github.com/gofiber/fiber/v3"
|
||||
|
||||
@@ -8,7 +8,7 @@ import (
|
||||
"backend/app/http/tenants"
|
||||
"backend/app/http/users"
|
||||
"backend/database/fields"
|
||||
"backend/database/models/qvyun_v2/public/model"
|
||||
"backend/database/schemas/public/model"
|
||||
"backend/providers/jwt"
|
||||
"backend/providers/pay"
|
||||
|
||||
|
||||
@@ -7,8 +7,8 @@ import (
|
||||
|
||||
"backend/app/requests"
|
||||
"backend/database/fields"
|
||||
"backend/database/models/qvyun_v2/public/model"
|
||||
"backend/database/models/qvyun_v2/public/table"
|
||||
"backend/database/schemas/public/model"
|
||||
"backend/database/schemas/public/table"
|
||||
"backend/pkg/utils"
|
||||
"backend/providers/otel"
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ import (
|
||||
"backend/app/http/users"
|
||||
"backend/app/requests"
|
||||
"backend/database/fields"
|
||||
"backend/database/models/qvyun_v2/public/model"
|
||||
"backend/database/schemas/public/model"
|
||||
"backend/providers/event"
|
||||
"backend/providers/hashids"
|
||||
"backend/providers/jwt"
|
||||
|
||||
@@ -8,8 +8,8 @@ import (
|
||||
"backend/app/requests"
|
||||
"backend/database"
|
||||
"backend/database/fields"
|
||||
"backend/database/models/qvyun_v2/public/model"
|
||||
"backend/database/models/qvyun_v2/public/table"
|
||||
"backend/database/schemas/public/model"
|
||||
"backend/database/schemas/public/table"
|
||||
"backend/providers/hashids"
|
||||
"backend/providers/otel"
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package storages
|
||||
|
||||
import (
|
||||
"backend/database/models/qvyun_v2/public/model"
|
||||
"backend/database/schemas/public/model"
|
||||
|
||||
"github.com/gofiber/fiber/v3"
|
||||
"github.com/samber/lo"
|
||||
|
||||
@@ -2,7 +2,7 @@ package storages
|
||||
|
||||
import (
|
||||
"backend/database/fields"
|
||||
"backend/database/models/qvyun_v2/public/model"
|
||||
"backend/database/schemas/public/model"
|
||||
)
|
||||
|
||||
type Storage struct {
|
||||
|
||||
@@ -6,8 +6,8 @@ import (
|
||||
"errors"
|
||||
|
||||
"backend/database/fields"
|
||||
"backend/database/models/qvyun_v2/public/model"
|
||||
"backend/database/models/qvyun_v2/public/table"
|
||||
"backend/database/schemas/public/model"
|
||||
"backend/database/schemas/public/table"
|
||||
"backend/providers/otel"
|
||||
|
||||
. "github.com/go-jet/jet/v2/postgres"
|
||||
|
||||
@@ -4,8 +4,8 @@ import (
|
||||
"context"
|
||||
"database/sql"
|
||||
|
||||
"backend/database/models/qvyun_v2/public/model"
|
||||
"backend/database/models/qvyun_v2/public/table"
|
||||
"backend/database/schemas/public/model"
|
||||
"backend/database/schemas/public/table"
|
||||
"backend/providers/otel"
|
||||
|
||||
. "github.com/go-jet/jet/v2/postgres"
|
||||
|
||||
@@ -7,8 +7,8 @@ import (
|
||||
|
||||
"backend/app/events/publishers"
|
||||
"backend/database/fields"
|
||||
"backend/database/models/qvyun_v2/public/model"
|
||||
"backend/database/models/qvyun_v2/public/table"
|
||||
"backend/database/schemas/public/model"
|
||||
"backend/database/schemas/public/table"
|
||||
"backend/pkg/oauth"
|
||||
"backend/providers/event"
|
||||
"backend/providers/otel"
|
||||
|
||||
@@ -8,8 +8,8 @@ import (
|
||||
"backend/app/service/testx"
|
||||
"backend/database"
|
||||
"backend/database/fields"
|
||||
"backend/database/models/qvyun_v2/public/model"
|
||||
"backend/database/models/qvyun_v2/public/table"
|
||||
"backend/database/schemas/public/model"
|
||||
"backend/database/schemas/public/table"
|
||||
|
||||
"git.ipao.vip/rogeecn/atom/contracts"
|
||||
. "github.com/smartystreets/goconvey/convey"
|
||||
|
||||
@@ -12,7 +12,7 @@ import (
|
||||
"backend/app/http/posts"
|
||||
"backend/app/http/storages"
|
||||
"backend/database/fields"
|
||||
"backend/database/models/qvyun_v2/public/model"
|
||||
"backend/database/schemas/public/model"
|
||||
"backend/pkg/utils"
|
||||
"backend/pkg/utils/fs"
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ import (
|
||||
"backend/app/http/posts"
|
||||
"backend/app/http/storages"
|
||||
"backend/database/fields"
|
||||
"backend/database/models/qvyun_v2/public/model"
|
||||
"backend/database/schemas/public/model"
|
||||
"backend/pkg/utils"
|
||||
"backend/pkg/utils/fs"
|
||||
|
||||
|
||||
@@ -6,9 +6,13 @@
|
||||
{
|
||||
"path": "frontend"
|
||||
},
|
||||
{
|
||||
"path": "backend/database"
|
||||
"name": "BACKEND_Database",
|
||||
},
|
||||
{
|
||||
"path": "backend/app",
|
||||
"name":"BACKEND_APP"
|
||||
"name": "BACKEND_APP",
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
6
test/justfile
Normal file
6
test/justfile
Normal file
@@ -0,0 +1,6 @@
|
||||
recipe-name:
|
||||
echo 'This is a recipe!'
|
||||
|
||||
# 这是一行注释
|
||||
another-recipe:
|
||||
@echo 'This is another recipe.'
|
||||
Reference in New Issue
Block a user