Skip to content

Commit

Permalink
import path to xbase
Browse files Browse the repository at this point in the history
  • Loading branch information
windhooked committed Sep 18, 2024
1 parent 9e763af commit 5c58275
Show file tree
Hide file tree
Showing 249 changed files with 765 additions and 765 deletions.
12 changes: 6 additions & 6 deletions apis/admin.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ package apis
import (
"net/http"

"github.com/lunarforge/postgresbase/core"
"github.com/lunarforge/postgresbase/forms"
"github.com/lunarforge/postgresbase/models"
"github.com/lunarforge/postgresbase/tokens"
"github.com/lunarforge/postgresbase/tools/routine"
"github.com/lunarforge/postgresbase/tools/search"
"github.com/lunarforge/xbase/core"
"github.com/lunarforge/xbase/forms"
"github.com/lunarforge/xbase/models"
"github.com/lunarforge/xbase/tokens"
"github.com/lunarforge/xbase/tools/routine"
"github.com/lunarforge/xbase/tools/search"
"github.com/labstack/echo/v5"
)

Expand Down
10 changes: 5 additions & 5 deletions apis/admin_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ import (
"testing"
"time"

"github.com/lunarforge/postgresbase/core"
"github.com/lunarforge/postgresbase/daos"
"github.com/lunarforge/postgresbase/models"
"github.com/lunarforge/postgresbase/tests"
"github.com/lunarforge/postgresbase/tools/types"
"github.com/lunarforge/xbase/core"
"github.com/lunarforge/xbase/daos"
"github.com/lunarforge/xbase/models"
"github.com/lunarforge/xbase/tests"
"github.com/lunarforge/xbase/tools/types"
"github.com/labstack/echo/v5"
"github.com/pocketbase/dbx"
)
Expand Down
2 changes: 1 addition & 1 deletion apis/api_error.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"net/http"
"strings"

"github.com/lunarforge/postgresbase/tools/inflector"
"github.com/lunarforge/xbase/tools/inflector"
validation "github.com/go-ozzo/ozzo-validation/v4"
)

Expand Down
2 changes: 1 addition & 1 deletion apis/api_error_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"errors"
"testing"

"github.com/lunarforge/postgresbase/apis"
"github.com/lunarforge/xbase/apis"
validation "github.com/go-ozzo/ozzo-validation/v4"
)

Expand Down
12 changes: 6 additions & 6 deletions apis/backup.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ import (
"path/filepath"
"time"

"github.com/lunarforge/postgresbase/core"
"github.com/lunarforge/postgresbase/forms"
"github.com/lunarforge/postgresbase/models"
"github.com/lunarforge/postgresbase/tools/filesystem"
"github.com/lunarforge/postgresbase/tools/rest"
"github.com/lunarforge/postgresbase/tools/types"
"github.com/lunarforge/xbase/core"
"github.com/lunarforge/xbase/forms"
"github.com/lunarforge/xbase/models"
"github.com/lunarforge/xbase/tools/filesystem"
"github.com/lunarforge/xbase/tools/rest"
"github.com/lunarforge/xbase/tools/types"
"github.com/labstack/echo/v5"
"github.com/spf13/cast"
)
Expand Down
4 changes: 2 additions & 2 deletions apis/backup_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import (
"strings"
"testing"

"github.com/lunarforge/postgresbase/core"
"github.com/lunarforge/postgresbase/tests"
"github.com/lunarforge/xbase/core"
"github.com/lunarforge/xbase/tests"
"github.com/labstack/echo/v5"
"gocloud.dev/blob"
)
Expand Down
6 changes: 3 additions & 3 deletions apis/base.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ import (
"strings"
"time"

"github.com/lunarforge/postgresbase/core"
"github.com/lunarforge/postgresbase/tools/rest"
"github.com/lunarforge/postgresbase/ui"
"github.com/lunarforge/xbase/core"
"github.com/lunarforge/xbase/tools/rest"
"github.com/lunarforge/xbase/ui"
"github.com/labstack/echo/v5"
"github.com/labstack/echo/v5/middleware"
"github.com/spf13/cast"
Expand Down
4 changes: 2 additions & 2 deletions apis/base_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import (
"strings"
"testing"

"github.com/lunarforge/postgresbase/apis"
"github.com/lunarforge/postgresbase/tests"
"github.com/lunarforge/xbase/apis"
"github.com/lunarforge/xbase/tests"
"github.com/labstack/echo/v5"
"github.com/spf13/cast"
)
Expand Down
8 changes: 4 additions & 4 deletions apis/collection.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ package apis
import (
"net/http"

"github.com/lunarforge/postgresbase/core"
"github.com/lunarforge/postgresbase/forms"
"github.com/lunarforge/postgresbase/models"
"github.com/lunarforge/postgresbase/tools/search"
"github.com/lunarforge/xbase/core"
"github.com/lunarforge/xbase/forms"
"github.com/lunarforge/xbase/models"
"github.com/lunarforge/xbase/tools/search"
"github.com/labstack/echo/v5"
)

Expand Down
8 changes: 4 additions & 4 deletions apis/collection_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ import (
"testing"
"time"

"github.com/lunarforge/postgresbase/core"
"github.com/lunarforge/postgresbase/models"
"github.com/lunarforge/postgresbase/tests"
"github.com/lunarforge/postgresbase/tools/list"
"github.com/lunarforge/xbase/core"
"github.com/lunarforge/xbase/models"
"github.com/lunarforge/xbase/tests"
"github.com/lunarforge/xbase/tools/list"
"github.com/labstack/echo/v5"
)

Expand Down
14 changes: 7 additions & 7 deletions apis/file.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ import (
"strings"
"time"

"github.com/lunarforge/postgresbase/core"
"github.com/lunarforge/postgresbase/models"
"github.com/lunarforge/postgresbase/models/schema"
"github.com/lunarforge/postgresbase/tokens"
"github.com/lunarforge/postgresbase/tools/filesystem"
"github.com/lunarforge/postgresbase/tools/list"
"github.com/lunarforge/postgresbase/tools/security"
"github.com/lunarforge/xbase/core"
"github.com/lunarforge/xbase/models"
"github.com/lunarforge/xbase/models/schema"
"github.com/lunarforge/xbase/tokens"
"github.com/lunarforge/xbase/tools/filesystem"
"github.com/lunarforge/xbase/tools/list"
"github.com/lunarforge/xbase/tools/security"
"github.com/labstack/echo/v5"
"github.com/spf13/cast"
"golang.org/x/sync/semaphore"
Expand Down
12 changes: 6 additions & 6 deletions apis/file_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ import (
"sync"
"testing"

"github.com/lunarforge/postgresbase/apis"
"github.com/lunarforge/postgresbase/core"
"github.com/lunarforge/postgresbase/daos"
"github.com/lunarforge/postgresbase/models/schema"
"github.com/lunarforge/postgresbase/tests"
"github.com/lunarforge/postgresbase/tools/types"
"github.com/lunarforge/xbase/apis"
"github.com/lunarforge/xbase/core"
"github.com/lunarforge/xbase/daos"
"github.com/lunarforge/xbase/models/schema"
"github.com/lunarforge/xbase/tests"
"github.com/lunarforge/xbase/tools/types"
"github.com/labstack/echo/v5"
)

Expand Down
2 changes: 1 addition & 1 deletion apis/health.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package apis
import (
"net/http"

"github.com/lunarforge/postgresbase/core"
"github.com/lunarforge/xbase/core"
"github.com/labstack/echo/v5"
)

Expand Down
2 changes: 1 addition & 1 deletion apis/health_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"net/http"
"testing"

"github.com/lunarforge/postgresbase/tests"
"github.com/lunarforge/xbase/tests"
)

func TestHealthAPI(t *testing.T) {
Expand Down
6 changes: 3 additions & 3 deletions apis/logs.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package apis
import (
"net/http"

"github.com/lunarforge/postgresbase/core"
"github.com/lunarforge/postgresbase/models"
"github.com/lunarforge/postgresbase/tools/search"
"github.com/lunarforge/xbase/core"
"github.com/lunarforge/xbase/models"
"github.com/lunarforge/xbase/tools/search"
"github.com/labstack/echo/v5"
"github.com/pocketbase/dbx"
)
Expand Down
2 changes: 1 addition & 1 deletion apis/logs_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"net/http"
"testing"

"github.com/lunarforge/postgresbase/tests"
"github.com/lunarforge/xbase/tests"
"github.com/labstack/echo/v5"
)

Expand Down
12 changes: 6 additions & 6 deletions apis/middlewares.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ import (
"strings"
"time"

"github.com/lunarforge/postgresbase/core"
"github.com/lunarforge/postgresbase/models"
"github.com/lunarforge/postgresbase/tokens"
"github.com/lunarforge/postgresbase/tools/list"
"github.com/lunarforge/postgresbase/tools/routine"
"github.com/lunarforge/postgresbase/tools/security"
"github.com/lunarforge/xbase/core"
"github.com/lunarforge/xbase/models"
"github.com/lunarforge/xbase/tokens"
"github.com/lunarforge/xbase/tools/list"
"github.com/lunarforge/xbase/tools/routine"
"github.com/lunarforge/xbase/tools/security"
"github.com/labstack/echo/v5"
"github.com/spf13/cast"
)
Expand Down
4 changes: 2 additions & 2 deletions apis/middlewares_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"net/http"
"testing"

"github.com/lunarforge/postgresbase/apis"
"github.com/lunarforge/postgresbase/tests"
"github.com/lunarforge/xbase/apis"
"github.com/lunarforge/xbase/tests"
"github.com/labstack/echo/v5"
)

Expand Down
16 changes: 8 additions & 8 deletions apis/realtime.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ import (
"strings"
"time"

"github.com/lunarforge/postgresbase/core"
"github.com/lunarforge/postgresbase/forms"
"github.com/lunarforge/postgresbase/models"
"github.com/lunarforge/postgresbase/resolvers"
"github.com/lunarforge/postgresbase/tools/rest"
"github.com/lunarforge/postgresbase/tools/routine"
"github.com/lunarforge/postgresbase/tools/search"
"github.com/lunarforge/postgresbase/tools/subscriptions"
"github.com/lunarforge/xbase/core"
"github.com/lunarforge/xbase/forms"
"github.com/lunarforge/xbase/models"
"github.com/lunarforge/xbase/resolvers"
"github.com/lunarforge/xbase/tools/rest"
"github.com/lunarforge/xbase/tools/routine"
"github.com/lunarforge/xbase/tools/search"
"github.com/lunarforge/xbase/tools/subscriptions"
"github.com/labstack/echo/v5"
"github.com/pocketbase/dbx"
"github.com/spf13/cast"
Expand Down
14 changes: 7 additions & 7 deletions apis/realtime_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ import (
"testing"
"time"

"github.com/lunarforge/postgresbase/apis"
"github.com/lunarforge/postgresbase/core"
"github.com/lunarforge/postgresbase/daos"
"github.com/lunarforge/postgresbase/models"
"github.com/lunarforge/postgresbase/tests"
"github.com/lunarforge/postgresbase/tools/hook"
"github.com/lunarforge/postgresbase/tools/subscriptions"
"github.com/lunarforge/xbase/apis"
"github.com/lunarforge/xbase/core"
"github.com/lunarforge/xbase/daos"
"github.com/lunarforge/xbase/models"
"github.com/lunarforge/xbase/tests"
"github.com/lunarforge/xbase/tools/hook"
"github.com/lunarforge/xbase/tools/subscriptions"
"github.com/labstack/echo/v5"
"github.com/pocketbase/dbx"
)
Expand Down
20 changes: 10 additions & 10 deletions apis/record_auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@ import (
"net/http"
"sort"

"github.com/lunarforge/postgresbase/core"
"github.com/lunarforge/postgresbase/daos"
"github.com/lunarforge/postgresbase/forms"
"github.com/lunarforge/postgresbase/models"
"github.com/lunarforge/postgresbase/resolvers"
"github.com/lunarforge/postgresbase/tools/auth"
"github.com/lunarforge/postgresbase/tools/routine"
"github.com/lunarforge/postgresbase/tools/search"
"github.com/lunarforge/postgresbase/tools/security"
"github.com/lunarforge/postgresbase/tools/subscriptions"
"github.com/lunarforge/xbase/core"
"github.com/lunarforge/xbase/daos"
"github.com/lunarforge/xbase/forms"
"github.com/lunarforge/xbase/models"
"github.com/lunarforge/xbase/resolvers"
"github.com/lunarforge/xbase/tools/auth"
"github.com/lunarforge/xbase/tools/routine"
"github.com/lunarforge/xbase/tools/search"
"github.com/lunarforge/xbase/tools/security"
"github.com/lunarforge/xbase/tools/subscriptions"
"github.com/labstack/echo/v5"
"github.com/pocketbase/dbx"
"golang.org/x/oauth2"
Expand Down
10 changes: 5 additions & 5 deletions apis/record_auth_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ import (
"testing"
"time"

"github.com/lunarforge/postgresbase/core"
"github.com/lunarforge/postgresbase/daos"
"github.com/lunarforge/postgresbase/tests"
"github.com/lunarforge/postgresbase/tools/subscriptions"
"github.com/lunarforge/postgresbase/tools/types"
"github.com/lunarforge/xbase/core"
"github.com/lunarforge/xbase/daos"
"github.com/lunarforge/xbase/tests"
"github.com/lunarforge/xbase/tools/subscriptions"
"github.com/lunarforge/xbase/tools/types"
"github.com/labstack/echo/v5"
)

Expand Down
12 changes: 6 additions & 6 deletions apis/record_crud.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ import (
"log/slog"
"net/http"

"github.com/lunarforge/postgresbase/core"
"github.com/lunarforge/postgresbase/daos"
"github.com/lunarforge/postgresbase/forms"
"github.com/lunarforge/postgresbase/models"
"github.com/lunarforge/postgresbase/resolvers"
"github.com/lunarforge/postgresbase/tools/search"
"github.com/lunarforge/xbase/core"
"github.com/lunarforge/xbase/daos"
"github.com/lunarforge/xbase/forms"
"github.com/lunarforge/xbase/models"
"github.com/lunarforge/xbase/resolvers"
"github.com/lunarforge/xbase/tools/search"
"github.com/labstack/echo/v5"
"github.com/pocketbase/dbx"
)
Expand Down
6 changes: 3 additions & 3 deletions apis/record_crud_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ import (
"testing"
"time"

"github.com/lunarforge/postgresbase/core"
"github.com/lunarforge/postgresbase/models"
"github.com/lunarforge/postgresbase/tests"
"github.com/lunarforge/xbase/core"
"github.com/lunarforge/xbase/models"
"github.com/lunarforge/xbase/tests"
"github.com/labstack/echo/v5"
)

Expand Down
16 changes: 8 additions & 8 deletions apis/record_helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ import (
"net/http"
"strings"

"github.com/lunarforge/postgresbase/core"
"github.com/lunarforge/postgresbase/daos"
"github.com/lunarforge/postgresbase/models"
"github.com/lunarforge/postgresbase/resolvers"
"github.com/lunarforge/postgresbase/tokens"
"github.com/lunarforge/postgresbase/tools/inflector"
"github.com/lunarforge/postgresbase/tools/rest"
"github.com/lunarforge/postgresbase/tools/search"
"github.com/lunarforge/xbase/core"
"github.com/lunarforge/xbase/daos"
"github.com/lunarforge/xbase/models"
"github.com/lunarforge/xbase/resolvers"
"github.com/lunarforge/xbase/tokens"
"github.com/lunarforge/xbase/tools/inflector"
"github.com/lunarforge/xbase/tools/rest"
"github.com/lunarforge/xbase/tools/search"
"github.com/labstack/echo/v5"
"github.com/pocketbase/dbx"
)
Expand Down
Loading

0 comments on commit 5c58275

Please sign in to comment.