Skip to content

Commit a4a108c

Browse files
committed
chore: update module path to v2
1 parent 614dd87 commit a4a108c

43 files changed

Lines changed: 107 additions & 107 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.DS_Store

-8 KB
Binary file not shown.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ make install # then just: termf1
115115

116116
```bash
117117
export GROQ_API_KEY=your_key_here
118-
go installgithub.com/dk-a-dev/termf1@latest
118+
go installgithub.com/dk-a-dev/termf1/v2@latest
119119
termf1
120120
```
121121

cmd/replay.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ import (
1010
"time"
1111

1212
tea "github.com/charmbracelet/bubbletea"
13-
"github.com/dk-a-dev/termf1/internal/config"
14-
"github.com/dk-a-dev/termf1/internal/livetiming"
15-
"github.com/dk-a-dev/termf1/internal/ui"
13+
"github.com/dk-a-dev/termf1/v2/internal/config"
14+
"github.com/dk-a-dev/termf1/v2/internal/livetiming"
15+
"github.com/dk-a-dev/termf1/v2/internal/ui"
1616
"github.com/spf13/cobra"
1717
)
1818

cmd/schedule.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ import (
77
"strings"
88
"time"
99

10-
"github.com/dk-a-dev/termf1/internal/api/jolpica"
11-
"github.com/dk-a-dev/termf1/internal/ui/styles"
12-
"github.com/dk-a-dev/termf1/internal/ui/views/schedule"
10+
"github.com/dk-a-dev/termf1/v2/internal/api/jolpica"
11+
"github.com/dk-a-dev/termf1/v2/internal/ui/styles"
12+
"github.com/dk-a-dev/termf1/v2/internal/ui/views/schedule"
1313
"github.com/spf13/cobra"
1414
"golang.org/x/term"
1515
)

cmd/standings.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import (
44
"context"
55
"fmt"
66
"os"
7-
"github.com/dk-a-dev/termf1/internal/api/jolpica"
8-
"github.com/dk-a-dev/termf1/internal/ui/views/standings"
7+
"github.com/dk-a-dev/termf1/v2/internal/api/jolpica"
8+
"github.com/dk-a-dev/termf1/v2/internal/ui/views/standings"
99
"github.com/spf13/cobra"
1010
"golang.org/x/term"
1111
)

cmd/termf1-server/main.go

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

14-
"github.com/dk-a-dev/termf1/internal/api/openf1"
15-
"github.com/dk-a-dev/termf1/internal/livetiming"
14+
"github.com/dk-a-dev/termf1/v2/internal/api/openf1"
15+
"github.com/dk-a-dev/termf1/v2/internal/livetiming"
1616
)
1717

1818
func main() {

cmd/tui.go

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

77
tea "github.com/charmbracelet/bubbletea"
8-
"github.com/dk-a-dev/termf1/internal/config"
9-
"github.com/dk-a-dev/termf1/internal/ui"
8+
"github.com/dk-a-dev/termf1/v2/internal/config"
9+
"github.com/dk-a-dev/termf1/v2/internal/ui"
1010
"github.com/spf13/cobra"
1111
)
1212

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/dk-a-dev/termf1
1+
module github.com/dk-a-dev/termf1/v2
22

33
go 1.25.0
44

internal/api/f1static/client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import (
1515
"sort"
1616
"time"
1717

18-
"github.com/dk-a-dev/termf1/internal/api/liveserver"
18+
"github.com/dk-a-dev/termf1/v2/internal/api/liveserver"
1919
)
2020

2121
const baseURL = "https://livetiming.formula1.com/static/"

internal/api/jolpica/client.go

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

10-
"github.com/dk-a-dev/termf1/internal/api/cache"
10+
"github.com/dk-a-dev/termf1/v2/internal/api/cache"
1111
)
1212

1313
const baseURL = "https://api.jolpi.ca/ergast/f1"

0 commit comments

Comments
 (0)