Fix Go module name
This commit is contained in:
parent
b4706d1d8a
commit
25eb677f7a
@ -23,8 +23,8 @@ import (
|
||||
"io"
|
||||
|
||||
"github.com/twitchtv/twirp"
|
||||
"go.elara.ws/lure-web/lure-backend/internal/api"
|
||||
"go.elara.ws/logger/log"
|
||||
"go.elara.ws/lure-web/backend/internal/api"
|
||||
"go.elara.ws/lure/pkg/search"
|
||||
"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) {
|
||||
opts := search.Options{
|
||||
Filter: search.Filter(req.FilterType),
|
||||
SortBy: search.SortBy(req.SortBy),
|
||||
Limit: req.Limit,
|
||||
Query: req.Query,
|
||||
Filter: search.Filter(req.FilterType),
|
||||
SortBy: search.SortBy(req.SortBy),
|
||||
Limit: req.Limit,
|
||||
Query: req.Query,
|
||||
}
|
||||
|
||||
if req.FilterValue != nil {
|
||||
|
@ -1,4 +1,4 @@
|
||||
module go.elara.ws/lure-web/lure-backend
|
||||
module go.elara.ws/lure-web/backend
|
||||
|
||||
go 1.21.0
|
||||
|
||||
|
@ -28,10 +28,10 @@ import (
|
||||
"github.com/go-chi/chi/v5"
|
||||
"github.com/twitchtv/twirp"
|
||||
"go.elara.ws/logger"
|
||||
"go.elara.ws/lure-web/lure-backend/internal/api"
|
||||
"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"
|
||||
"go.elara.ws/lure/pkg/repos"
|
||||
)
|
||||
|
||||
func init() {
|
||||
|
Loading…
Reference in New Issue
Block a user