build(new mod): change mod name
change the module name from dirmd to git.flo.fo/FLO/dirmd Also change all the imports in the module
This commit is contained in:
+5
-5
@@ -7,11 +7,11 @@ import (
|
|||||||
|
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
|
|
||||||
"dirmd/internal/config"
|
"git.flo.fo/FLO/dirmd/internal/config"
|
||||||
"dirmd/internal/drive"
|
"git.flo.fo/FLO/dirmd/internal/drive"
|
||||||
"dirmd/internal/renderer"
|
"git.flo.fo/FLO/dirmd/internal/renderer"
|
||||||
"dirmd/internal/tui"
|
"git.flo.fo/FLO/dirmd/internal/tui"
|
||||||
"dirmd/internal/walker"
|
"git.flo.fo/FLO/dirmd/internal/walker"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ import (
|
|||||||
"path/filepath"
|
"path/filepath"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"dirmd/internal/config"
|
"git.flo.fo/FLO/dirmd/internal/config"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Filter struct {
|
type Filter struct {
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
// internal/renderer/renderer.go
|
|
||||||
package renderer
|
package renderer
|
||||||
|
|
||||||
import (
|
import (
|
||||||
@@ -9,8 +8,8 @@ import (
|
|||||||
"strings"
|
"strings"
|
||||||
"unicode/utf8"
|
"unicode/utf8"
|
||||||
|
|
||||||
"dirmd/internal/tree"
|
"git.flo.fo/FLO/dirmd/internal/tree"
|
||||||
"dirmd/internal/walker"
|
"git.flo.fo/FLO/dirmd/internal/walker"
|
||||||
)
|
)
|
||||||
|
|
||||||
const fenceChars = "~~~"
|
const fenceChars = "~~~"
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ import (
|
|||||||
"sort"
|
"sort"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"dirmd/internal/walker"
|
"git.flo.fo/FLO/dirmd/internal/walker"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Node struct {
|
type Node struct {
|
||||||
|
|||||||
@@ -5,10 +5,10 @@ import (
|
|||||||
"os"
|
"os"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
|
|
||||||
"dirmd/internal/config"
|
"git.flo.fo/FLO/dirmd/internal/config"
|
||||||
"dirmd/internal/drive"
|
"git.flo.fo/FLO/dirmd/internal/drive"
|
||||||
"dirmd/internal/renderer"
|
"git.flo.fo/FLO/dirmd/internal/renderer"
|
||||||
"dirmd/internal/walker"
|
"git.flo.fo/FLO/dirmd/internal/walker"
|
||||||
)
|
)
|
||||||
|
|
||||||
type GenerateResult struct {
|
type GenerateResult struct {
|
||||||
|
|||||||
+1
-1
@@ -12,7 +12,7 @@ import (
|
|||||||
"charm.land/huh/v2"
|
"charm.land/huh/v2"
|
||||||
"charm.land/huh/v2/spinner"
|
"charm.land/huh/v2/spinner"
|
||||||
|
|
||||||
"dirmd/internal/config"
|
"git.flo.fo/FLO/dirmd/internal/config"
|
||||||
)
|
)
|
||||||
|
|
||||||
func Run() error {
|
func Run() error {
|
||||||
|
|||||||
@@ -7,8 +7,8 @@ import (
|
|||||||
"path/filepath"
|
"path/filepath"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"dirmd/internal/config"
|
"git.flo.fo/FLO/dirmd/internal/config"
|
||||||
"dirmd/internal/filter"
|
"git.flo.fo/FLO/dirmd/internal/filter"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Entry struct {
|
type Entry struct {
|
||||||
|
|||||||
Reference in New Issue
Block a user