Skip to content

Commit 6c27871

Browse files
authored
Merge pull request #44 from Ay1tsMe/goreleaser-fix
Goreleaser fix
2 parents 90affd7 + 65e5c49 commit 6c27871

File tree

7 files changed

+21
-11
lines changed

7 files changed

+21
-11
lines changed

README.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,26 @@ TeeTimeFinder aims to solve the problem of manually going through multiple cours
1717
- Interactive prompts and command-line flags
1818

1919
## Installation
20-
Requires `go` to be installed.
2120

21+
### Go
22+
```shell
23+
go install github.com/Ay1tsMe/TeeTimeFinder@latest
24+
```
25+
26+
### Release Binary
27+
Download the latest release binary from the [Release Page](https://github.com/Ay1tsMe/TeeTimeFinder/releases/latest) and extract it
28+
29+
### Build from Source
2230
1. Clone the repo:
2331

2432
``` shell
25-
git clone https://github.com/Ay1tsMe/teetimefinder.git
33+
git clone https://github.com/Ay1tsMe/TeeTimeFinder.git
2634
```
2735

2836
2. Build from source:
2937

3038
``` shell
31-
cd teetimefinder
39+
cd TeeTimeFinder
3240
go build -o TeeTimeFinder
3341
```
3442

cmd/root.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@
66
package cmd
77

88
import (
9-
"TeeTimeFinder/pkg/miclub"
10-
"TeeTimeFinder/pkg/quick18"
11-
"TeeTimeFinder/pkg/shared"
129
"bufio"
1310
"fmt"
1411
"log"
@@ -19,6 +16,10 @@ import (
1916
"strings"
2017
"time"
2118

19+
"github.com/Ay1tsMe/TeeTimeFinder/pkg/miclub"
20+
"github.com/Ay1tsMe/TeeTimeFinder/pkg/quick18"
21+
"github.com/Ay1tsMe/TeeTimeFinder/pkg/shared"
22+
2223
"github.com/charmbracelet/bubbles/textinput"
2324
tea "github.com/charmbracelet/bubbletea"
2425
"github.com/spf13/cobra"

cmd/root_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,13 @@
66
package cmd
77

88
import (
9-
"TeeTimeFinder/pkg/shared"
109
"os"
1110
"path/filepath"
1211
"testing"
1312
"time"
1413

14+
"github.com/Ay1tsMe/TeeTimeFinder/pkg/shared"
15+
1516
"github.com/stretchr/testify/assert"
1617
)
1718

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module TeeTimeFinder
1+
module github.com/Ay1tsMe/TeeTimeFinder
22

33
go 1.23.1
44

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
package main
77

8-
import "TeeTimeFinder/cmd"
8+
import "github.com/Ay1tsMe/TeeTimeFinder/cmd"
99

1010
func main() {
1111
cmd.Execute()

pkg/miclub/miclub.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212
"strings"
1313
"time"
1414

15-
"TeeTimeFinder/pkg/shared"
15+
"github.com/Ay1tsMe/TeeTimeFinder/pkg/shared"
1616

1717
"github.com/gocolly/colly"
1818
)

pkg/quick18/quick18.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import (
1414
"strings"
1515
"time"
1616

17-
"TeeTimeFinder/pkg/shared"
17+
"github.com/Ay1tsMe/TeeTimeFinder/pkg/shared"
1818

1919
"github.com/PuerkitoBio/goquery"
2020
"github.com/gocolly/colly"

0 commit comments

Comments
 (0)