refactor: moved packages to pkg
This commit is contained in:
parent
b2e2d53352
commit
2be5874332
|
@ -8,8 +8,8 @@ import (
|
||||||
"reflect"
|
"reflect"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/tigorlazuardi/redmage/caller"
|
"github.com/tigorlazuardi/redmage/pkg/caller"
|
||||||
"github.com/tigorlazuardi/redmage/log"
|
"github.com/tigorlazuardi/redmage/pkg/log"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Error interface {
|
type Error interface {
|
|
@ -12,8 +12,8 @@ import (
|
||||||
"github.com/go-chi/chi/v5/middleware"
|
"github.com/go-chi/chi/v5/middleware"
|
||||||
"github.com/mattn/go-colorable"
|
"github.com/mattn/go-colorable"
|
||||||
"github.com/mattn/go-isatty"
|
"github.com/mattn/go-isatty"
|
||||||
"github.com/tigorlazuardi/redmage/caller"
|
|
||||||
"github.com/tigorlazuardi/redmage/config"
|
"github.com/tigorlazuardi/redmage/config"
|
||||||
|
"github.com/tigorlazuardi/redmage/pkg/caller"
|
||||||
)
|
)
|
||||||
|
|
||||||
var handler slog.Handler = NullHandler{}
|
var handler slog.Handler = NullHandler{}
|
|
@ -11,7 +11,7 @@ import (
|
||||||
"sync"
|
"sync"
|
||||||
|
|
||||||
"github.com/fatih/color"
|
"github.com/fatih/color"
|
||||||
"github.com/tigorlazuardi/redmage/caller"
|
"github.com/tigorlazuardi/redmage/pkg/caller"
|
||||||
)
|
)
|
||||||
|
|
||||||
type PrettyHandler struct {
|
type PrettyHandler struct {
|
Loading…
Reference in a new issue