Skip to content

Commit e2e0a51

Browse files
committed
change module name
1 parent 7863675 commit e2e0a51

File tree

28 files changed

+47
-47
lines changed

28 files changed

+47
-47
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ There are two parts to deploy: First, the Go binary which detects trains, and se
6868
How to get binaries?
6969
There are multiple options:
7070

71-
1. `go install github.com/jo-m/trainbot/cmd/trainbot@latest` - Let Go build and install the binary on your system.
71+
1. `go install jo-m.ch/go/trainbot/cmd/trainbot@latest`
7272
2. Grab a binary from the latest CI run at https://github.com/jo-m/trainbot/actions
7373
3. Build via tooling in this repo - see [Development](#development)
7474

cmd/cleanup/main.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ import (
1919

2020
"github.com/alexflint/go-arg"
2121
"github.com/jmoiron/sqlx"
22-
"github.com/jo-m/trainbot/internal/pkg/db"
23-
"github.com/jo-m/trainbot/internal/pkg/logging"
24-
"github.com/jo-m/trainbot/internal/pkg/upload"
2522
"github.com/rs/zerolog/log"
23+
"jo-m.ch/go/trainbot/internal/pkg/db"
24+
"jo-m.ch/go/trainbot/internal/pkg/logging"
25+
"jo-m.ch/go/trainbot/internal/pkg/upload"
2626
)
2727

2828
type config struct {

cmd/confighelper/main.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ import (
99
"net/http"
1010

1111
"github.com/alexflint/go-arg"
12-
"github.com/jo-m/trainbot/internal/pkg/logging"
13-
"github.com/jo-m/trainbot/internal/pkg/server"
14-
"github.com/jo-m/trainbot/pkg/vid"
1512
"github.com/rs/zerolog/log"
13+
"jo-m.ch/go/trainbot/internal/pkg/logging"
14+
"jo-m.ch/go/trainbot/internal/pkg/server"
15+
"jo-m.ch/go/trainbot/pkg/vid"
1616
)
1717

1818
const (

cmd/trainbot/main.go

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@ import (
1818

1919
"github.com/alexflint/go-arg"
2020
"github.com/jmoiron/sqlx"
21-
"github.com/jo-m/trainbot/internal/pkg/db"
22-
"github.com/jo-m/trainbot/internal/pkg/logging"
23-
"github.com/jo-m/trainbot/internal/pkg/prometheus"
24-
"github.com/jo-m/trainbot/internal/pkg/stitch"
25-
"github.com/jo-m/trainbot/internal/pkg/upload"
26-
"github.com/jo-m/trainbot/pkg/imutil"
27-
"github.com/jo-m/trainbot/pkg/vid"
2821
"github.com/nfnt/resize"
2922
"github.com/rs/zerolog/log"
23+
"jo-m.ch/go/trainbot/internal/pkg/db"
24+
"jo-m.ch/go/trainbot/internal/pkg/logging"
25+
"jo-m.ch/go/trainbot/internal/pkg/prometheus"
26+
"jo-m.ch/go/trainbot/internal/pkg/stitch"
27+
"jo-m.ch/go/trainbot/internal/pkg/upload"
28+
"jo-m.ch/go/trainbot/pkg/imutil"
29+
"jo-m.ch/go/trainbot/pkg/vid"
3030
)
3131

3232
type config struct {

examples/pmatch/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import (
66
"image"
77
"time"
88

9-
"github.com/jo-m/trainbot/pkg/imutil"
10-
"github.com/jo-m/trainbot/pkg/pmatch"
9+
"jo-m.ch/go/trainbot/pkg/imutil"
10+
"jo-m.ch/go/trainbot/pkg/pmatch"
1111
)
1212

1313
const (

examples/pmatchVk/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ import (
1313
"image"
1414
"time"
1515

16-
"github.com/jo-m/trainbot/pkg/imutil"
17-
"github.com/jo-m/trainbot/pkg/pmatch"
16+
"jo-m.ch/go/trainbot/pkg/imutil"
17+
"jo-m.ch/go/trainbot/pkg/pmatch"
1818
)
1919

2020
const (

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/jo-m/trainbot
1+
module jo-m.ch/go/trainbot
22

33
go 1.24.1
44

internal/pkg/db/db_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ import (
44
"path/filepath"
55
"testing"
66

7-
"github.com/jo-m/trainbot/internal/pkg/stitch"
87
"github.com/stretchr/testify/assert"
98
"github.com/stretchr/testify/require"
9+
"jo-m.ch/go/trainbot/internal/pkg/stitch"
1010
)
1111

1212
func Test_Open_Schema(t *testing.T) {

internal/pkg/db/queries.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"time"
77

88
"github.com/jmoiron/sqlx"
9-
"github.com/jo-m/trainbot/internal/pkg/stitch"
9+
"jo-m.ch/go/trainbot/internal/pkg/stitch"
1010
)
1111

1212
// InsertTrain inserts a new train sighting into the database.

internal/pkg/db/queries_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ import (
66
"testing"
77
"time"
88

9-
"github.com/jo-m/trainbot/internal/pkg/stitch"
109
"github.com/stretchr/testify/assert"
1110
"github.com/stretchr/testify/require"
11+
"jo-m.ch/go/trainbot/internal/pkg/stitch"
1212
)
1313

1414
func mustParseTime(s string) time.Time {

0 commit comments

Comments
 (0)