Changed a package URL

This commit is contained in:
2025-02-03 17:50:47 -05:00
parent dac9e95d12
commit fc99e2371c
17 changed files with 42 additions and 42 deletions

View File

@ -14,12 +14,12 @@ import (
"github.com/uptrace/bun" "github.com/uptrace/bun"
tele "gopkg.in/telebot.v4" tele "gopkg.in/telebot.v4"
"github.com/alex-savin/go-receipt-tracker/bus" "git.savin.nyc/alex/go-receipt-tracker/bus"
"github.com/alex-savin/go-receipt-tracker/config" "git.savin.nyc/alex/go-receipt-tracker/config"
"github.com/alex-savin/go-receipt-tracker/listeners" "git.savin.nyc/alex/go-receipt-tracker/listeners"
"github.com/alex-savin/go-receipt-tracker/models" "git.savin.nyc/alex/go-receipt-tracker/models"
"github.com/alex-savin/go-receipt-tracker/system" "git.savin.nyc/alex/go-receipt-tracker/system"
"github.com/alex-savin/go-receipt-tracker/workers" "git.savin.nyc/alex/go-receipt-tracker/workers"
) )
const ( const (

View File

@ -7,7 +7,7 @@ import (
"sync" "sync"
"sync/atomic" "sync/atomic"
"github.com/alex-savin/go-receipt-tracker/system" "git.savin.nyc/alex/go-receipt-tracker/system"
) )
const ( const (

View File

@ -8,7 +8,7 @@ import (
"net/http" "net/http"
"os" "os"
"github.com/alex-savin/go-receipt-tracker/models" "git.savin.nyc/alex/go-receipt-tracker/models"
tele "gopkg.in/telebot.v4" tele "gopkg.in/telebot.v4"
) )

View File

@ -6,7 +6,7 @@ import (
"log/slog" "log/slog"
"github.com/alex-savin/go-receipt-tracker/config" "git.savin.nyc/alex/go-receipt-tracker/config"
) )
// Bus should be created by New(). // Bus should be created by New().

View File

@ -1,7 +1,7 @@
package bus package bus
import ( import (
"github.com/alex-savin/go-receipt-tracker/models" "git.savin.nyc/alex/go-receipt-tracker/models"
tele "gopkg.in/telebot.v4" tele "gopkg.in/telebot.v4"
) )

View File

@ -5,8 +5,8 @@ import (
"database/sql" "database/sql"
"log/slog" "log/slog"
"github.com/alex-savin/go-receipt-tracker/config" "git.savin.nyc/alex/go-receipt-tracker/config"
"github.com/alex-savin/go-receipt-tracker/models" "git.savin.nyc/alex/go-receipt-tracker/models"
"github.com/uptrace/bun" "github.com/uptrace/bun"
"github.com/uptrace/bun/dialect/pgdialect" "github.com/uptrace/bun/dialect/pgdialect"
"github.com/uptrace/bun/driver/pgdriver" "github.com/uptrace/bun/driver/pgdriver"

2
go.mod
View File

@ -1,4 +1,4 @@
module github.com/alex-savin/go-receipt-tracker module git.savin.nyc/alex/go-receipt-tracker
go 1.23 go 1.23

View File

@ -3,7 +3,7 @@ package debug
import ( import (
"log/slog" "log/slog"
app "github.com/alex-savin/go-receipt-tracker/app" app "git.savin.nyc/alex/go-receipt-tracker/app"
) )
// Options contains configuration settings for the debug output. // Options contains configuration settings for the debug output.

12
main.go
View File

@ -7,12 +7,12 @@ import (
"os/signal" "os/signal"
"syscall" "syscall"
"github.com/alex-savin/go-receipt-tracker/app" "git.savin.nyc/alex/go-receipt-tracker/app"
"github.com/alex-savin/go-receipt-tracker/bus" "git.savin.nyc/alex/go-receipt-tracker/bus"
"github.com/alex-savin/go-receipt-tracker/config" "git.savin.nyc/alex/go-receipt-tracker/config"
"github.com/alex-savin/go-receipt-tracker/database" "git.savin.nyc/alex/go-receipt-tracker/database"
"github.com/alex-savin/go-receipt-tracker/hooks/debug" "git.savin.nyc/alex/go-receipt-tracker/hooks/debug"
"github.com/alex-savin/go-receipt-tracker/workers" "git.savin.nyc/alex/go-receipt-tracker/workers"
) )
// var log = *slog.Logger // var log = *slog.Logger

View File

@ -6,9 +6,9 @@ import (
"log/slog" "log/slog"
"sync/atomic" "sync/atomic"
"github.com/alex-savin/go-receipt-tracker/bus" "git.savin.nyc/alex/go-receipt-tracker/bus"
"github.com/alex-savin/go-receipt-tracker/config" "git.savin.nyc/alex/go-receipt-tracker/config"
"github.com/alex-savin/go-receipt-tracker/utils" "git.savin.nyc/alex/go-receipt-tracker/utils"
"github.com/liushuangls/go-anthropic/v2" "github.com/liushuangls/go-anthropic/v2"
) )

View File

@ -7,9 +7,9 @@ import (
"regexp" "regexp"
"sync/atomic" "sync/atomic"
"github.com/alex-savin/go-receipt-tracker/bus" "git.savin.nyc/alex/go-receipt-tracker/bus"
"github.com/alex-savin/go-receipt-tracker/config" "git.savin.nyc/alex/go-receipt-tracker/config"
"github.com/alex-savin/go-receipt-tracker/utils" "git.savin.nyc/alex/go-receipt-tracker/utils"
"github.com/google/generative-ai-go/genai" "github.com/google/generative-ai-go/genai"
"google.golang.org/api/option" "google.golang.org/api/option"
) )

View File

@ -5,9 +5,9 @@ import (
"log/slog" "log/slog"
"sync/atomic" "sync/atomic"
"github.com/alex-savin/go-receipt-tracker/bus" "git.savin.nyc/alex/go-receipt-tracker/bus"
"github.com/alex-savin/go-receipt-tracker/config" "git.savin.nyc/alex/go-receipt-tracker/config"
"github.com/alex-savin/go-receipt-tracker/utils" "git.savin.nyc/alex/go-receipt-tracker/utils"
"github.com/sashabaranov/go-openai" "github.com/sashabaranov/go-openai"
) )

View File

@ -8,9 +8,9 @@ import (
"os" "os"
"sync/atomic" "sync/atomic"
"github.com/alex-savin/go-receipt-tracker/bus" "git.savin.nyc/alex/go-receipt-tracker/bus"
"github.com/alex-savin/go-receipt-tracker/config" "git.savin.nyc/alex/go-receipt-tracker/config"
"github.com/alex-savin/go-receipt-tracker/utils" "git.savin.nyc/alex/go-receipt-tracker/utils"
"github.com/liushuangls/go-anthropic/v2" "github.com/liushuangls/go-anthropic/v2"
) )

View File

@ -6,8 +6,8 @@ import (
"log/slog" "log/slog"
"sync/atomic" "sync/atomic"
"github.com/alex-savin/go-receipt-tracker/bus" "git.savin.nyc/alex/go-receipt-tracker/bus"
"github.com/alex-savin/go-receipt-tracker/config" "git.savin.nyc/alex/go-receipt-tracker/config"
"github.com/google/generative-ai-go/genai" "github.com/google/generative-ai-go/genai"
"google.golang.org/api/option" "google.golang.org/api/option"
) )

View File

@ -5,9 +5,9 @@ import (
"log/slog" "log/slog"
"sync/atomic" "sync/atomic"
"github.com/alex-savin/go-receipt-tracker/bus" "git.savin.nyc/alex/go-receipt-tracker/bus"
"github.com/alex-savin/go-receipt-tracker/config" "git.savin.nyc/alex/go-receipt-tracker/config"
"github.com/alex-savin/go-receipt-tracker/utils" "git.savin.nyc/alex/go-receipt-tracker/utils"
"github.com/sashabaranov/go-openai" "github.com/sashabaranov/go-openai"
) )

View File

@ -6,9 +6,9 @@ import (
"sync/atomic" "sync/atomic"
"time" "time"
"github.com/alex-savin/go-receipt-tracker/bus" "git.savin.nyc/alex/go-receipt-tracker/bus"
"github.com/alex-savin/go-receipt-tracker/config" "git.savin.nyc/alex/go-receipt-tracker/config"
"github.com/alex-savin/go-receipt-tracker/models" "git.savin.nyc/alex/go-receipt-tracker/models"
tele "gopkg.in/telebot.v4" tele "gopkg.in/telebot.v4"
) )

View File

@ -6,8 +6,8 @@ import (
"sync/atomic" "sync/atomic"
"time" "time"
"github.com/alex-savin/go-receipt-tracker/bus" "git.savin.nyc/alex/go-receipt-tracker/bus"
"github.com/alex-savin/go-receipt-tracker/config" "git.savin.nyc/alex/go-receipt-tracker/config"
tele "gopkg.in/telebot.v4" tele "gopkg.in/telebot.v4"
) )