Fix Go module name

This commit is contained in:
Elara 2023-09-26 15:38:44 -07:00
parent b4706d1d8a
commit 25eb677f7a
3 changed files with 8 additions and 8 deletions

View File

@ -23,8 +23,8 @@ import (
"io" "io"
"github.com/twitchtv/twirp" "github.com/twitchtv/twirp"
"go.elara.ws/lure-web/lure-backend/internal/api"
"go.elara.ws/logger/log" "go.elara.ws/logger/log"
"go.elara.ws/lure-web/backend/internal/api"
"go.elara.ws/lure/pkg/search" "go.elara.ws/lure/pkg/search"
"golang.org/x/text/language" "golang.org/x/text/language"
) )
@ -33,10 +33,10 @@ type lureWebAPI struct{}
func (l lureWebAPI) Search(ctx context.Context, req *api.SearchRequest) (*api.SearchResponse, error) { func (l lureWebAPI) Search(ctx context.Context, req *api.SearchRequest) (*api.SearchResponse, error) {
opts := search.Options{ opts := search.Options{
Filter: search.Filter(req.FilterType), Filter: search.Filter(req.FilterType),
SortBy: search.SortBy(req.SortBy), SortBy: search.SortBy(req.SortBy),
Limit: req.Limit, Limit: req.Limit,
Query: req.Query, Query: req.Query,
} }
if req.FilterValue != nil { if req.FilterValue != nil {

View File

@ -1,4 +1,4 @@
module go.elara.ws/lure-web/lure-backend module go.elara.ws/lure-web/backend
go 1.21.0 go 1.21.0

View File

@ -28,10 +28,10 @@ import (
"github.com/go-chi/chi/v5" "github.com/go-chi/chi/v5"
"github.com/twitchtv/twirp" "github.com/twitchtv/twirp"
"go.elara.ws/logger" "go.elara.ws/logger"
"go.elara.ws/lure-web/lure-backend/internal/api"
"go.elara.ws/logger/log" "go.elara.ws/logger/log"
"go.elara.ws/lure/pkg/repos" "go.elara.ws/lure-web/backend/internal/api"
lurelog "go.elara.ws/lure/pkg/log" lurelog "go.elara.ws/lure/pkg/log"
"go.elara.ws/lure/pkg/repos"
) )
func init() { func init() {