domain update
This commit is contained in:
parent
9eddbac6f9
commit
313e2ab0a4
|
@ -1,6 +1,6 @@
|
||||||
package fetch
|
package fetch
|
||||||
|
|
||||||
import "ewintr.nl/yogai/model"
|
import "go-mod.ewintr.nl/yogai/model"
|
||||||
|
|
||||||
type FeedEntry struct {
|
type FeedEntry struct {
|
||||||
EntryID int64
|
EntryID int64
|
||||||
|
|
|
@ -3,8 +3,8 @@ package fetch
|
||||||
import (
|
import (
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"ewintr.nl/yogai/model"
|
"go-mod.ewintr.nl/yogai/model"
|
||||||
"ewintr.nl/yogai/storage"
|
"go-mod.ewintr.nl/yogai/storage"
|
||||||
"github.com/google/uuid"
|
"github.com/google/uuid"
|
||||||
"golang.org/x/exp/slog"
|
"golang.org/x/exp/slog"
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package fetch
|
package fetch
|
||||||
|
|
||||||
import "ewintr.nl/yogai/model"
|
import "go-mod.ewintr.nl/yogai/model"
|
||||||
|
|
||||||
type Metadata struct {
|
type Metadata struct {
|
||||||
Title string
|
Title string
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package fetch
|
package fetch
|
||||||
|
|
||||||
import "ewintr.nl/yogai/model"
|
import "go-mod.ewintr.nl/yogai/model"
|
||||||
|
|
||||||
type SummaryFetcher interface {
|
type SummaryFetcher interface {
|
||||||
FetchSummary(video *model.Video) error
|
FetchSummary(video *model.Video) error
|
||||||
|
|
|
@ -3,7 +3,7 @@ package fetch
|
||||||
import (
|
import (
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"ewintr.nl/yogai/model"
|
"go-mod.ewintr.nl/yogai/model"
|
||||||
"google.golang.org/api/youtube/v3"
|
"google.golang.org/api/youtube/v3"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
2
go.mod
2
go.mod
|
@ -1,4 +1,4 @@
|
||||||
module ewintr.nl/yogai
|
module go-mod.ewintr.nl/yogai
|
||||||
|
|
||||||
go 1.20
|
go 1.20
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@ import (
|
||||||
"path"
|
"path"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"ewintr.nl/yogai/storage"
|
"go-mod.ewintr.nl/yogai/storage"
|
||||||
"golang.org/x/exp/slog"
|
"golang.org/x/exp/slog"
|
||||||
"miniflux.app/logger"
|
"miniflux.app/logger"
|
||||||
)
|
)
|
||||||
|
|
|
@ -6,8 +6,8 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|
||||||
"ewintr.nl/yogai/model"
|
"go-mod.ewintr.nl/yogai/model"
|
||||||
"ewintr.nl/yogai/storage"
|
"go-mod.ewintr.nl/yogai/storage"
|
||||||
"golang.org/x/exp/slog"
|
"golang.org/x/exp/slog"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@ import (
|
||||||
"context"
|
"context"
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"ewintr.nl/yogai/model"
|
"go-mod.ewintr.nl/yogai/model"
|
||||||
"github.com/sashabaranov/go-openai"
|
"github.com/sashabaranov/go-openai"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -3,8 +3,8 @@ package process
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
|
|
||||||
"ewintr.nl/yogai/model"
|
"go-mod.ewintr.nl/yogai/model"
|
||||||
"ewintr.nl/yogai/storage"
|
"go-mod.ewintr.nl/yogai/storage"
|
||||||
"github.com/sashabaranov/go-openai"
|
"github.com/sashabaranov/go-openai"
|
||||||
"golang.org/x/exp/slog"
|
"golang.org/x/exp/slog"
|
||||||
)
|
)
|
||||||
|
|
|
@ -9,10 +9,10 @@ import (
|
||||||
"strconv"
|
"strconv"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"ewintr.nl/yogai/fetch"
|
"go-mod.ewintr.nl/yogai/fetch"
|
||||||
"ewintr.nl/yogai/handler"
|
"go-mod.ewintr.nl/yogai/handler"
|
||||||
"ewintr.nl/yogai/process"
|
"go-mod.ewintr.nl/yogai/process"
|
||||||
"ewintr.nl/yogai/storage"
|
"go-mod.ewintr.nl/yogai/storage"
|
||||||
"github.com/sashabaranov/go-openai"
|
"github.com/sashabaranov/go-openai"
|
||||||
"golang.org/x/exp/slog"
|
"golang.org/x/exp/slog"
|
||||||
"google.golang.org/api/option"
|
"google.golang.org/api/option"
|
||||||
|
|
|
@ -4,7 +4,7 @@ import (
|
||||||
"database/sql"
|
"database/sql"
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"ewintr.nl/yogai/model"
|
"go-mod.ewintr.nl/yogai/model"
|
||||||
"github.com/lib/pq"
|
"github.com/lib/pq"
|
||||||
_ "github.com/lib/pq"
|
_ "github.com/lib/pq"
|
||||||
)
|
)
|
||||||
|
|
|
@ -3,7 +3,7 @@ package storage
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
|
|
||||||
"ewintr.nl/yogai/model"
|
"go-mod.ewintr.nl/yogai/model"
|
||||||
)
|
)
|
||||||
|
|
||||||
type FeedRelRepository interface {
|
type FeedRelRepository interface {
|
||||||
|
|
|
@ -4,7 +4,7 @@ import (
|
||||||
"context"
|
"context"
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|
||||||
"ewintr.nl/yogai/model"
|
"go-mod.ewintr.nl/yogai/model"
|
||||||
"github.com/weaviate/weaviate-go-client/v4/weaviate"
|
"github.com/weaviate/weaviate-go-client/v4/weaviate"
|
||||||
"github.com/weaviate/weaviate-go-client/v4/weaviate/auth"
|
"github.com/weaviate/weaviate-go-client/v4/weaviate/auth"
|
||||||
"github.com/weaviate/weaviate-go-client/v4/weaviate/fault"
|
"github.com/weaviate/weaviate-go-client/v4/weaviate/fault"
|
||||||
|
|
Loading…
Reference in New Issue