feat: update module path
- modify go.mod to reflect the new module path
- update config file path in the main function
- adjust import statements in various internal packages
- add install instructions to README
🤖
This commit is contained in:
parent
d83946e255
commit
064056e8cb
8 changed files with 14 additions and 10 deletions
|
@ -5,7 +5,7 @@ package main
|
|||
// - add controls
|
||||
|
||||
import (
|
||||
"ChronoTomato/cmd/client"
|
||||
"git.smsvc.net/pomodoro/ChronoTomato/cmd/client"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
|
|
@ -2,6 +2,10 @@
|
|||
|
||||
A GoTomato command line client written in Go
|
||||
|
||||
## Installation
|
||||
|
||||
`go install git.smsvc.net/pomodoro/ChronoTomato@latest`
|
||||
|
||||
## Configuration
|
||||
|
||||
`ChronoTomato` can be configured via CLI parameters or a config file.
|
||||
|
|
|
@ -5,9 +5,9 @@ import (
|
|||
"os"
|
||||
"os/signal"
|
||||
|
||||
"ChronoTomato/internal/helper"
|
||||
"ChronoTomato/internal/shared"
|
||||
"ChronoTomato/internal/websocket"
|
||||
"git.smsvc.net/pomodoro/ChronoTomato/internal/helper"
|
||||
"git.smsvc.net/pomodoro/ChronoTomato/internal/shared"
|
||||
"git.smsvc.net/pomodoro/ChronoTomato/internal/websocket"
|
||||
|
||||
"atomicgo.dev/keyboard"
|
||||
"atomicgo.dev/keyboard/keys"
|
||||
|
|
2
go.mod
2
go.mod
|
@ -1,4 +1,4 @@
|
|||
module ChronoTomato
|
||||
module git.smsvc.net/pomodoro/ChronoTomato
|
||||
|
||||
go 1.23.1
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package helper
|
||||
|
||||
import (
|
||||
"ChronoTomato/pkg/models"
|
||||
"git.smsvc.net/pomodoro/ChronoTomato/pkg/models"
|
||||
"github.com/charmbracelet/log"
|
||||
"gopkg.in/yaml.v2"
|
||||
"os"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package notifications
|
||||
|
||||
import (
|
||||
"ChronoTomato/internal/shared"
|
||||
"git.smsvc.net/pomodoro/ChronoTomato/internal/shared"
|
||||
"fmt"
|
||||
"github.com/gen2brain/beeep"
|
||||
)
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package notifications
|
||||
|
||||
import (
|
||||
"ChronoTomato/internal/shared"
|
||||
"git.smsvc.net/pomodoro/ChronoTomato/internal/shared"
|
||||
"atomicgo.dev/cursor"
|
||||
"fmt"
|
||||
"github.com/fatih/color"
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
package websocket
|
||||
|
||||
import (
|
||||
"ChronoTomato/internal/notifications"
|
||||
"ChronoTomato/internal/shared"
|
||||
"git.smsvc.net/pomodoro/ChronoTomato/internal/notifications"
|
||||
"git.smsvc.net/pomodoro/ChronoTomato/internal/shared"
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
"github.com/charmbracelet/log"
|
||||
|
|
Loading…
Reference in a new issue