rename to github.com/ekzyis/hnbot
This commit is contained in:
parent
2cfb0eaa31
commit
fb9c1d9fca
2
db/db.go
2
db/db.go
@ -5,8 +5,8 @@ import (
|
|||||||
"fmt"
|
"fmt"
|
||||||
"log"
|
"log"
|
||||||
|
|
||||||
|
"github.com/ekzyis/hnbot/hn"
|
||||||
_ "github.com/mattn/go-sqlite3"
|
_ "github.com/mattn/go-sqlite3"
|
||||||
"gitlab.com/ekzyis/hnbot/hn"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
2
go.mod
2
go.mod
@ -1,4 +1,4 @@
|
|||||||
module gitlab.com/ekzyis/hnbot
|
module github.com/ekzyis/hnbot
|
||||||
|
|
||||||
go 1.20
|
go 1.20
|
||||||
|
|
||||||
|
6
main.go
6
main.go
@ -5,9 +5,9 @@ import (
|
|||||||
"log"
|
"log"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"gitlab.com/ekzyis/hnbot/db"
|
"github.com/ekzyis/hnbot/db"
|
||||||
"gitlab.com/ekzyis/hnbot/hn"
|
"github.com/ekzyis/hnbot/hn"
|
||||||
sn "gitlab.com/ekzyis/hnbot/sn"
|
sn "github.com/ekzyis/hnbot/sn"
|
||||||
)
|
)
|
||||||
|
|
||||||
func SyncHnItemsToDb() {
|
func SyncHnItemsToDb() {
|
||||||
|
4
sn/sn.go
4
sn/sn.go
@ -7,9 +7,9 @@ import (
|
|||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/dustin/go-humanize"
|
"github.com/dustin/go-humanize"
|
||||||
|
"github.com/ekzyis/hnbot/db"
|
||||||
|
"github.com/ekzyis/hnbot/hn"
|
||||||
sn "github.com/ekzyis/snappy"
|
sn "github.com/ekzyis/snappy"
|
||||||
"gitlab.com/ekzyis/hnbot/db"
|
|
||||||
"gitlab.com/ekzyis/hnbot/hn"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
type DupesError = sn.DupesError
|
type DupesError = sn.DupesError
|
||||||
|
Loading…
x
Reference in New Issue
Block a user