refactor: Rename module

Signed-off-by: Tim Hårek Andreassen <tim@harek.no>
This commit is contained in:
Tim Hårek Andreassen 2024-10-03 18:53:14 +02:00
parent eda33958a8
commit a0ff16465d
No known key found for this signature in database
GPG key ID: E59C7734F0E10EB5
7 changed files with 14 additions and 14 deletions

View file

@ -6,9 +6,9 @@ import (
"os"
"time"
"git.sr.ht/~timharek/yr-go/cmd/flags"
"git.sr.ht/~timharek/yr-go/internal/nominatim"
"git.sr.ht/~timharek/yr-go/yr"
"git.sr.ht/~timharek/yr/cmd/flags"
"git.sr.ht/~timharek/yr/internal/nominatim"
"git.sr.ht/~timharek/yr/yr"
"github.com/charmbracelet/lipgloss"
"github.com/charmbracelet/lipgloss/table"
"github.com/pkg/browser"

View file

@ -6,9 +6,9 @@ import (
"os"
"time"
"git.sr.ht/~timharek/yr-go/cmd/flags"
"git.sr.ht/~timharek/yr-go/internal/nominatim"
"git.sr.ht/~timharek/yr-go/yr"
"git.sr.ht/~timharek/yr/cmd/flags"
"git.sr.ht/~timharek/yr/internal/nominatim"
"git.sr.ht/~timharek/yr/yr"
"github.com/pkg/browser"
"github.com/spf13/cobra"
)

View file

@ -3,7 +3,7 @@ package cmd
import (
"os"
"git.sr.ht/~timharek/yr-go/cmd/flags"
"git.sr.ht/~timharek/yr/cmd/flags"
"github.com/spf13/cobra"
)

2
go.mod
View file

@ -1,4 +1,4 @@
module git.sr.ht/~timharek/yr-go
module git.sr.ht/~timharek/yr
go 1.23.1

View file

@ -1,6 +1,6 @@
package main
import "git.sr.ht/~timharek/yr-go/cmd"
import "git.sr.ht/~timharek/yr/cmd"
func main() {
cmd.Execute()

View file

@ -6,9 +6,9 @@ import (
"slices"
"time"
"git.sr.ht/~timharek/yr-go/internal/met"
"git.sr.ht/~timharek/yr-go/internal/nominatim"
"git.sr.ht/~timharek/yr-go/yr/direction"
"git.sr.ht/~timharek/yr/internal/met"
"git.sr.ht/~timharek/yr/internal/nominatim"
"git.sr.ht/~timharek/yr/yr/direction"
)
type Client struct {
@ -17,7 +17,7 @@ type Client struct {
}
func New() (*Client, error) {
siteName := "git.sr.ht/~timharek/yr-go"
siteName := "git.sr.ht/~timharek/yr"
met, err := met.New(siteName)
if err != nil {
return nil, err

View file

@ -3,7 +3,7 @@ package yr
import (
"testing"
"git.sr.ht/~timharek/yr-go/yr/direction"
"git.sr.ht/~timharek/yr/yr/direction"
"github.com/stretchr/testify/assert"
)