Skip to content

Commit d6c8092

Browse files
authored
Merge pull request #289 from lets-cli/switch-to-internal-project-structure
2 parents 7afb0bb + 69e250c commit d6c8092

57 files changed

Lines changed: 44 additions & 44 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ import (
99
"path/filepath"
1010
"sort"
1111

12-
"github.com/lets-cli/lets/set"
13-
"github.com/lets-cli/lets/util"
12+
"github.com/lets-cli/lets/internal/set"
13+
"github.com/lets-cli/lets/internal/util"
1414
)
1515

1616
const (
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"os"
66
"testing"
77

8-
"github.com/lets-cli/lets/test"
8+
"github.com/lets-cli/lets/internal/test"
99
)
1010

1111
// get filename without last 4 chars - to make tests more predictable.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ import (
88
"strings"
99
"text/template"
1010

11-
"github.com/lets-cli/lets/config/config"
12-
"github.com/lets-cli/lets/docopt"
11+
"github.com/lets-cli/lets/internal/config/config"
12+
"github.com/lets-cli/lets/internal/docopt"
1313
"github.com/spf13/cobra"
1414
)
1515

cmd/lsp.go renamed to internal/cmd/lsp.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package cmd
22

33
import (
4-
"github.com/lets-cli/lets/lsp"
4+
"github.com/lets-cli/lets/internal/lsp"
55
"github.com/pkg/errors"
66
"github.com/spf13/cobra"
77
)

cmd/root.go renamed to internal/cmd/root.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"sort"
88
"strings"
99

10-
"github.com/lets-cli/lets/set"
10+
"github.com/lets-cli/lets/internal/set"
1111
"github.com/spf13/cobra"
1212
)
1313

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"strings"
77
"testing"
88

9-
"github.com/lets-cli/lets/config/config"
9+
"github.com/lets-cli/lets/internal/config/config"
1010
"github.com/spf13/cobra"
1111
)
1212

File renamed without changes.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ import (
88
"slices"
99
"strings"
1010

11-
"github.com/lets-cli/lets/config/config"
12-
"github.com/lets-cli/lets/executor"
11+
"github.com/lets-cli/lets/internal/config/config"
12+
"github.com/lets-cli/lets/internal/executor"
1313
"github.com/spf13/cobra"
1414
)
1515

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package config
22

33
import (
4-
"github.com/lets-cli/lets/checksum"
4+
"github.com/lets-cli/lets/internal/checksum"
55
)
66

77
// Checksum type for all checksum uses (env, command.env, command,checksum).

0 commit comments

Comments
 (0)