refactor: moved packages to pkg

This commit is contained in:
Tigor Hutasuhut 2024-04-06 22:09:17 +07:00
parent b2e2d53352
commit 2be5874332
7 changed files with 4 additions and 4 deletions

View file

@ -8,8 +8,8 @@ import (
"reflect"
"strings"
"github.com/tigorlazuardi/redmage/caller"
"github.com/tigorlazuardi/redmage/log"
"github.com/tigorlazuardi/redmage/pkg/caller"
"github.com/tigorlazuardi/redmage/pkg/log"
)
type Error interface {

View file

@ -12,8 +12,8 @@ import (
"github.com/go-chi/chi/v5/middleware"
"github.com/mattn/go-colorable"
"github.com/mattn/go-isatty"
"github.com/tigorlazuardi/redmage/caller"
"github.com/tigorlazuardi/redmage/config"
"github.com/tigorlazuardi/redmage/pkg/caller"
)
var handler slog.Handler = NullHandler{}

View file

@ -11,7 +11,7 @@ import (
"sync"
"github.com/fatih/color"
"github.com/tigorlazuardi/redmage/caller"
"github.com/tigorlazuardi/redmage/pkg/caller"
)
type PrettyHandler struct {