You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@answer.apache.org by li...@apache.org on 2025/01/07 04:56:34 UTC

(answer) branch test updated: refactor(user_admin): reorganize import statements for better readability

This is an automated email from the ASF dual-hosted git repository.

linkinstar pushed a commit to branch test
in repository https://gitbox.apache.org/repos/asf/answer.git


The following commit(s) were added to refs/heads/test by this push:
     new 16da18d3 refactor(user_admin): reorganize import statements for better readability
16da18d3 is described below

commit 16da18d307154dada2d3953a6b70da66b799399c
Author: LinkinStars <li...@foxmail.com>
AuthorDate: Tue Jan 7 12:56:23 2025 +0800

    refactor(user_admin): reorganize import statements for better readability
---
 internal/service/user_admin/user_backyard.go | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

diff --git a/internal/service/user_admin/user_backyard.go b/internal/service/user_admin/user_backyard.go
index d403282d..f7dc0eae 100644
--- a/internal/service/user_admin/user_backyard.go
+++ b/internal/service/user_admin/user_backyard.go
@@ -22,25 +22,23 @@ package user_admin
 import (
 	"context"
 	"fmt"
+	"net/mail"
+	"strings"
+	"time"
+	"unicode"
+
 	"github.com/apache/answer/internal/base/constant"
 	"github.com/apache/answer/internal/base/handler"
 	"github.com/apache/answer/internal/base/translator"
 	"github.com/apache/answer/internal/base/validator"
 	answercommon "github.com/apache/answer/internal/service/answer_common"
-	"github.com/apache/incubator-answer/internal/service/badge"
 	"github.com/apache/answer/internal/service/badge"
 	"github.com/apache/answer/internal/service/comment_common"
 	"github.com/apache/answer/internal/service/export"
-	notificationcommon "github.com/apache/incubator-answer/internal/service/notification_common"
-	"github.com/apache/incubator-answer/internal/service/plugin_common"
 	notificationcommon "github.com/apache/answer/internal/service/notification_common"
 	"github.com/apache/answer/internal/service/plugin_common"
 	questioncommon "github.com/apache/answer/internal/service/question_common"
 	"github.com/apache/answer/pkg/token"
-	"net/mail"
-	"strings"
-	"time"
-	"unicode"
 
 	"github.com/apache/answer/internal/base/pager"
 	"github.com/apache/answer/internal/base/reason"