Skip to content

Commit 5350285

Browse files
committed
Update module path to v2 and adjust imports across the project
1 parent 0c8b6ca commit 5350285

19 files changed

Lines changed: 53 additions & 47 deletions

File tree

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,13 @@ Check out a video walkthrough of go-symphony in action: [YouTube Demo](https://w
2626
### Install with Go
2727

2828
```bash
29-
go install github.com/Tomlord1122/go-symphony@latest
29+
go install github.com/Tomlord1122/go-symphony/v2@latest
30+
```
31+
32+
Install a specific v2 release:
33+
34+
```bash
35+
go install github.com/Tomlord1122/go-symphony/v2@v2.0.1
3036
```
3137

3238
### Install from Releases

cmd/create.go

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,17 @@ import (
77
"strings"
88
"sync"
99

10-
"github.com/Tomlord1122/go-symphony/cmd/flags"
11-
"github.com/Tomlord1122/go-symphony/cmd/program"
12-
"github.com/Tomlord1122/go-symphony/cmd/steps"
13-
"github.com/Tomlord1122/go-symphony/cmd/template/nextjs"
14-
"github.com/Tomlord1122/go-symphony/cmd/template/sveltekit"
15-
"github.com/Tomlord1122/go-symphony/cmd/ui/multiSelection"
16-
"github.com/Tomlord1122/go-symphony/cmd/ui/singleSelection"
17-
"github.com/Tomlord1122/go-symphony/cmd/ui/spinner"
18-
"github.com/Tomlord1122/go-symphony/cmd/ui/textinput"
19-
"github.com/Tomlord1122/go-symphony/cmd/utils"
20-
"github.com/Tomlord1122/go-symphony/internal/scaffold"
10+
"github.com/Tomlord1122/go-symphony/v2/cmd/flags"
11+
"github.com/Tomlord1122/go-symphony/v2/cmd/program"
12+
"github.com/Tomlord1122/go-symphony/v2/cmd/steps"
13+
"github.com/Tomlord1122/go-symphony/v2/cmd/template/nextjs"
14+
"github.com/Tomlord1122/go-symphony/v2/cmd/template/sveltekit"
15+
"github.com/Tomlord1122/go-symphony/v2/cmd/ui/multiSelection"
16+
"github.com/Tomlord1122/go-symphony/v2/cmd/ui/singleSelection"
17+
"github.com/Tomlord1122/go-symphony/v2/cmd/ui/spinner"
18+
"github.com/Tomlord1122/go-symphony/v2/cmd/ui/textinput"
19+
"github.com/Tomlord1122/go-symphony/v2/cmd/utils"
20+
"github.com/Tomlord1122/go-symphony/v2/internal/scaffold"
2121
tea "github.com/charmbracelet/bubbletea"
2222
"github.com/charmbracelet/lipgloss"
2323
"github.com/spf13/cobra"

cmd/create_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ import (
66
"strings"
77
"testing"
88

9-
"github.com/Tomlord1122/go-symphony/cmd/flags"
10-
"github.com/Tomlord1122/go-symphony/cmd/program"
11-
"github.com/Tomlord1122/go-symphony/internal/scaffold"
9+
"github.com/Tomlord1122/go-symphony/v2/cmd/flags"
10+
"github.com/Tomlord1122/go-symphony/v2/cmd/program"
11+
"github.com/Tomlord1122/go-symphony/v2/internal/scaffold"
1212
"github.com/spf13/cobra"
1313
)
1414

cmd/plan.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ import (
55
"os"
66
"strings"
77

8-
"github.com/Tomlord1122/go-symphony/cmd/flags"
9-
"github.com/Tomlord1122/go-symphony/cmd/program"
10-
"github.com/Tomlord1122/go-symphony/cmd/ui/textinput"
11-
"github.com/Tomlord1122/go-symphony/cmd/utils"
12-
"github.com/Tomlord1122/go-symphony/internal/scaffold"
8+
"github.com/Tomlord1122/go-symphony/v2/cmd/flags"
9+
"github.com/Tomlord1122/go-symphony/v2/cmd/program"
10+
"github.com/Tomlord1122/go-symphony/v2/cmd/ui/textinput"
11+
"github.com/Tomlord1122/go-symphony/v2/cmd/utils"
12+
"github.com/Tomlord1122/go-symphony/v2/internal/scaffold"
1313
"github.com/spf13/cobra"
1414
)
1515

cmd/program/program.go

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ import (
1212
"strings"
1313
"text/template"
1414

15-
"github.com/Tomlord1122/go-symphony/cmd/flags"
16-
tpl "github.com/Tomlord1122/go-symphony/cmd/template"
17-
"github.com/Tomlord1122/go-symphony/cmd/template/advanced"
18-
"github.com/Tomlord1122/go-symphony/cmd/template/dbdriver"
19-
"github.com/Tomlord1122/go-symphony/cmd/template/docker"
20-
"github.com/Tomlord1122/go-symphony/cmd/template/framework"
21-
"github.com/Tomlord1122/go-symphony/cmd/template/sqlc"
22-
"github.com/Tomlord1122/go-symphony/cmd/template/supabase"
23-
"github.com/Tomlord1122/go-symphony/cmd/utils"
15+
"github.com/Tomlord1122/go-symphony/v2/cmd/flags"
16+
tpl "github.com/Tomlord1122/go-symphony/v2/cmd/template"
17+
"github.com/Tomlord1122/go-symphony/v2/cmd/template/advanced"
18+
"github.com/Tomlord1122/go-symphony/v2/cmd/template/dbdriver"
19+
"github.com/Tomlord1122/go-symphony/v2/cmd/template/docker"
20+
"github.com/Tomlord1122/go-symphony/v2/cmd/template/framework"
21+
"github.com/Tomlord1122/go-symphony/v2/cmd/template/sqlc"
22+
"github.com/Tomlord1122/go-symphony/v2/cmd/template/supabase"
23+
"github.com/Tomlord1122/go-symphony/v2/cmd/utils"
2424
tea "github.com/charmbracelet/bubbletea"
2525
)
2626

cmd/steps/steps.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// each step of the CLI
33
package steps
44

5-
import "github.com/Tomlord1122/go-symphony/cmd/flags"
5+
import "github.com/Tomlord1122/go-symphony/v2/cmd/flags"
66

77
// A StepSchema contains the data that is used
88
// for an individual step of the CLI

cmd/template/framework/ginRoutes.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package framework
33
import (
44
_ "embed"
55

6-
"github.com/Tomlord1122/go-symphony/cmd/template/advanced"
6+
"github.com/Tomlord1122/go-symphony/v2/cmd/template/advanced"
77
)
88

99
//go:embed files/routes/gin.go.tmpl

cmd/template/nextjs/nextjs.go

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

10-
"github.com/Tomlord1122/go-symphony/cmd/flags"
10+
"github.com/Tomlord1122/go-symphony/v2/cmd/flags"
1111
)
1212

1313
// NextJSManager handles Next.js project creation

cmd/template/supabase/supabase.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ import (
1111
"strings"
1212
"text/template"
1313

14-
"github.com/Tomlord1122/go-symphony/cmd/flags"
15-
tpl "github.com/Tomlord1122/go-symphony/cmd/template"
14+
"github.com/Tomlord1122/go-symphony/v2/cmd/flags"
15+
tpl "github.com/Tomlord1122/go-symphony/v2/cmd/template"
1616
)
1717

1818
//go:embed files/supabase_env.tmpl

cmd/template/sveltekit/sveltekit.go

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

10-
"github.com/Tomlord1122/go-symphony/cmd/flags"
10+
"github.com/Tomlord1122/go-symphony/v2/cmd/flags"
1111
)
1212

1313
// SvelteKitManager handles SvelteKit project creation

0 commit comments

Comments
 (0)