Merge pull request #74 from OpenCHAMI/export-funcs

refactor: moved internal functions to pkg and updated refs
This commit is contained in:
David Allen 2025-02-20 19:23:23 -07:00 committed by GitHub
commit 2b1277690b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 5 additions and 5 deletions

View file

@ -4,9 +4,9 @@ import (
"fmt"
"os/user"
magellan "github.com/OpenCHAMI/magellan/internal"
"github.com/OpenCHAMI/magellan/internal/cache/sqlite"
urlx "github.com/OpenCHAMI/magellan/internal/url"
magellan "github.com/OpenCHAMI/magellan/pkg"
"github.com/OpenCHAMI/magellan/pkg/auth"
"github.com/cznic/mathutil"
"github.com/rs/zerolog/log"

View file

@ -7,8 +7,8 @@ import (
"os"
"path"
magellan "github.com/OpenCHAMI/magellan/internal"
"github.com/OpenCHAMI/magellan/internal/cache/sqlite"
magellan "github.com/OpenCHAMI/magellan/pkg"
"github.com/rs/zerolog/log"
urlx "github.com/OpenCHAMI/magellan/internal/url"

View file

@ -4,7 +4,7 @@ import (
"os"
"strings"
magellan "github.com/OpenCHAMI/magellan/internal"
magellan "github.com/OpenCHAMI/magellan/pkg"
"github.com/rs/zerolog/log"
"github.com/spf13/cobra"
"github.com/spf13/viper"

View file

@ -3,8 +3,8 @@ package sqlite
import (
"fmt"
magellan "github.com/OpenCHAMI/magellan/internal"
"github.com/OpenCHAMI/magellan/internal/util"
magellan "github.com/OpenCHAMI/magellan/pkg"
"github.com/jmoiron/sqlx"
)

View file

@ -22,8 +22,8 @@ import (
"flag"
magellan "github.com/OpenCHAMI/magellan/internal"
"github.com/OpenCHAMI/magellan/internal/util"
magellan "github.com/OpenCHAMI/magellan/pkg"
"github.com/OpenCHAMI/magellan/pkg/client"
"github.com/rs/zerolog/log"
)