From 5f2a624c0c7e0060a651dfd2cc24fc98ffe013c6 Mon Sep 17 00:00:00 2001 From: Steven Date: Thu, 29 Feb 2024 01:32:59 +0800 Subject: [PATCH] chore: tweak imports order --- server/route/api/v2/auth_service.go | 2 +- server/server.go | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/server/route/api/v2/auth_service.go b/server/route/api/v2/auth_service.go index 3975dd55aad23..40d37b287163d 100644 --- a/server/route/api/v2/auth_service.go +++ b/server/route/api/v2/auth_service.go @@ -14,11 +14,11 @@ import ( "google.golang.org/grpc/metadata" "google.golang.org/grpc/status" - "github.com/usememos/memos/server/route/api/auth" "github.com/usememos/memos/internal/util" "github.com/usememos/memos/plugin/idp" "github.com/usememos/memos/plugin/idp/oauth2" apiv2pb "github.com/usememos/memos/proto/gen/api/v2" + "github.com/usememos/memos/server/route/api/auth" "github.com/usememos/memos/store" ) diff --git a/server/server.go b/server/server.go index ec0e4e9018d52..98237fdc425c1 100644 --- a/server/server.go +++ b/server/server.go @@ -12,12 +12,12 @@ import ( "github.com/labstack/echo/v4/middleware" "github.com/pkg/errors" - apiv1 "github.com/usememos/memos/server/route/api/v1" - apiv2 "github.com/usememos/memos/server/route/api/v2" "github.com/usememos/memos/plugin/telegram" - "github.com/usememos/memos/server/route/frontend" "github.com/usememos/memos/server/integration" "github.com/usememos/memos/server/profile" + apiv1 "github.com/usememos/memos/server/route/api/v1" + apiv2 "github.com/usememos/memos/server/route/api/v2" + "github.com/usememos/memos/server/route/frontend" versionchecker "github.com/usememos/memos/server/service/version_checker" "github.com/usememos/memos/store" )