From 25eb677f7abc8908abd5a1e8e30ce18c73e42588 Mon Sep 17 00:00:00 2001 From: Elara Musayelyan Date: Tue, 26 Sep 2023 15:38:44 -0700 Subject: [PATCH] Fix Go module name --- backend/api.go | 10 +++++----- backend/go.mod | 2 +- backend/main.go | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/backend/api.go b/backend/api.go index 8d28075..82f3615 100644 --- a/backend/api.go +++ b/backend/api.go @@ -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 { diff --git a/backend/go.mod b/backend/go.mod index c5dd6ae..36f5aff 100644 --- a/backend/go.mod +++ b/backend/go.mod @@ -1,4 +1,4 @@ -module go.elara.ws/lure-web/lure-backend +module go.elara.ws/lure-web/backend go 1.21.0 diff --git a/backend/main.go b/backend/main.go index f2396c9..f13badc 100644 --- a/backend/main.go +++ b/backend/main.go @@ -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() {