refactor: Rename module
Signed-off-by: Tim Hårek Andreassen <tim@harek.no>
This commit is contained in:
parent
eda33958a8
commit
a0ff16465d
7 changed files with 14 additions and 14 deletions
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
)
|
||||
|
|
|
@ -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
2
go.mod
|
@ -1,4 +1,4 @@
|
|||
module git.sr.ht/~timharek/yr-go
|
||||
module git.sr.ht/~timharek/yr
|
||||
|
||||
go 1.23.1
|
||||
|
||||
|
|
2
main.go
2
main.go
|
@ -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()
|
||||
|
|
8
yr/yr.go
8
yr/yr.go
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue