refactor: rename go mod package to answerdev

This commit is contained in:
LinkinStar 2022-10-24 16:51:05 +08:00
parent 6a57382276
commit adc760e874
134 changed files with 681 additions and 681 deletions

View File

@ -11,7 +11,7 @@ LABEL maintainer="aichy"
ENV GOPATH /go
ENV GOROOT /usr/local/go
ENV PACKAGE github.com/segmentfault/answer
ENV PACKAGE github.com/answerdev/answer
ENV GOPROXY https://goproxy.cn,direct
ENV BUILD_DIR ${GOPATH}/src/${PACKAGE}
# Build

View File

@ -4,8 +4,8 @@ import (
"fmt"
"os"
"github.com/segmentfault/answer/internal/cli"
"github.com/segmentfault/answer/internal/migrations"
"github.com/answerdev/answer/internal/cli"
"github.com/answerdev/answer/internal/migrations"
"github.com/spf13/cobra"
)

View File

@ -4,9 +4,9 @@ import (
"os"
"path/filepath"
"github.com/answerdev/answer/internal/base/conf"
"github.com/answerdev/answer/internal/cli"
"github.com/gin-gonic/gin"
"github.com/segmentfault/answer/internal/base/conf"
"github.com/segmentfault/answer/internal/cli"
"github.com/segmentfault/pacman"
"github.com/segmentfault/pacman/contrib/conf/viper"
"github.com/segmentfault/pacman/contrib/log/zap"

View File

@ -6,18 +6,18 @@
package main
import (
"github.com/answerdev/answer/internal/base/conf"
"github.com/answerdev/answer/internal/base/data"
"github.com/answerdev/answer/internal/base/middleware"
"github.com/answerdev/answer/internal/base/server"
"github.com/answerdev/answer/internal/base/translator"
"github.com/answerdev/answer/internal/controller"
"github.com/answerdev/answer/internal/controller_backyard"
"github.com/answerdev/answer/internal/repo"
"github.com/answerdev/answer/internal/router"
"github.com/answerdev/answer/internal/service"
"github.com/answerdev/answer/internal/service/service_config"
"github.com/google/wire"
"github.com/segmentfault/answer/internal/base/conf"
"github.com/segmentfault/answer/internal/base/data"
"github.com/segmentfault/answer/internal/base/middleware"
"github.com/segmentfault/answer/internal/base/server"
"github.com/segmentfault/answer/internal/base/translator"
"github.com/segmentfault/answer/internal/controller"
"github.com/segmentfault/answer/internal/controller_backyard"
"github.com/segmentfault/answer/internal/repo"
"github.com/segmentfault/answer/internal/router"
"github.com/segmentfault/answer/internal/service"
"github.com/segmentfault/answer/internal/service/service_config"
"github.com/segmentfault/pacman"
"github.com/segmentfault/pacman/log"
)

View File

@ -7,59 +7,59 @@
package main
import (
"github.com/segmentfault/answer/internal/base/conf"
"github.com/segmentfault/answer/internal/base/data"
"github.com/segmentfault/answer/internal/base/middleware"
"github.com/segmentfault/answer/internal/base/server"
"github.com/segmentfault/answer/internal/base/translator"
"github.com/segmentfault/answer/internal/controller"
"github.com/segmentfault/answer/internal/controller_backyard"
"github.com/segmentfault/answer/internal/repo"
"github.com/segmentfault/answer/internal/repo/activity"
"github.com/segmentfault/answer/internal/repo/activity_common"
"github.com/segmentfault/answer/internal/repo/auth"
"github.com/segmentfault/answer/internal/repo/captcha"
"github.com/segmentfault/answer/internal/repo/collection"
"github.com/segmentfault/answer/internal/repo/comment"
"github.com/segmentfault/answer/internal/repo/common"
"github.com/segmentfault/answer/internal/repo/config"
"github.com/segmentfault/answer/internal/repo/export"
"github.com/segmentfault/answer/internal/repo/meta"
"github.com/segmentfault/answer/internal/repo/notification"
"github.com/segmentfault/answer/internal/repo/rank"
"github.com/segmentfault/answer/internal/repo/reason"
"github.com/segmentfault/answer/internal/repo/report"
"github.com/segmentfault/answer/internal/repo/revision"
"github.com/segmentfault/answer/internal/repo/tag"
"github.com/segmentfault/answer/internal/repo/unique"
"github.com/segmentfault/answer/internal/repo/user"
"github.com/segmentfault/answer/internal/router"
"github.com/segmentfault/answer/internal/service"
"github.com/segmentfault/answer/internal/service/action"
activity2 "github.com/segmentfault/answer/internal/service/activity"
"github.com/segmentfault/answer/internal/service/answer_common"
auth2 "github.com/segmentfault/answer/internal/service/auth"
"github.com/segmentfault/answer/internal/service/collection_common"
comment2 "github.com/segmentfault/answer/internal/service/comment"
export2 "github.com/segmentfault/answer/internal/service/export"
"github.com/segmentfault/answer/internal/service/follow"
meta2 "github.com/segmentfault/answer/internal/service/meta"
notification2 "github.com/segmentfault/answer/internal/service/notification"
"github.com/segmentfault/answer/internal/service/notification_common"
"github.com/segmentfault/answer/internal/service/object_info"
"github.com/segmentfault/answer/internal/service/question_common"
rank2 "github.com/segmentfault/answer/internal/service/rank"
reason2 "github.com/segmentfault/answer/internal/service/reason"
report2 "github.com/segmentfault/answer/internal/service/report"
"github.com/segmentfault/answer/internal/service/report_backyard"
"github.com/segmentfault/answer/internal/service/report_handle_backyard"
"github.com/segmentfault/answer/internal/service/revision_common"
"github.com/segmentfault/answer/internal/service/service_config"
tag2 "github.com/segmentfault/answer/internal/service/tag"
"github.com/segmentfault/answer/internal/service/tag_common"
"github.com/segmentfault/answer/internal/service/uploader"
"github.com/segmentfault/answer/internal/service/user_backyard"
"github.com/segmentfault/answer/internal/service/user_common"
"github.com/answerdev/answer/internal/base/conf"
"github.com/answerdev/answer/internal/base/data"
"github.com/answerdev/answer/internal/base/middleware"
"github.com/answerdev/answer/internal/base/server"
"github.com/answerdev/answer/internal/base/translator"
"github.com/answerdev/answer/internal/controller"
"github.com/answerdev/answer/internal/controller_backyard"
"github.com/answerdev/answer/internal/repo"
"github.com/answerdev/answer/internal/repo/activity"
"github.com/answerdev/answer/internal/repo/activity_common"
"github.com/answerdev/answer/internal/repo/auth"
"github.com/answerdev/answer/internal/repo/captcha"
"github.com/answerdev/answer/internal/repo/collection"
"github.com/answerdev/answer/internal/repo/comment"
"github.com/answerdev/answer/internal/repo/common"
"github.com/answerdev/answer/internal/repo/config"
"github.com/answerdev/answer/internal/repo/export"
"github.com/answerdev/answer/internal/repo/meta"
"github.com/answerdev/answer/internal/repo/notification"
"github.com/answerdev/answer/internal/repo/rank"
"github.com/answerdev/answer/internal/repo/reason"
"github.com/answerdev/answer/internal/repo/report"
"github.com/answerdev/answer/internal/repo/revision"
"github.com/answerdev/answer/internal/repo/tag"
"github.com/answerdev/answer/internal/repo/unique"
"github.com/answerdev/answer/internal/repo/user"
"github.com/answerdev/answer/internal/router"
"github.com/answerdev/answer/internal/service"
"github.com/answerdev/answer/internal/service/action"
activity2 "github.com/answerdev/answer/internal/service/activity"
"github.com/answerdev/answer/internal/service/answer_common"
auth2 "github.com/answerdev/answer/internal/service/auth"
"github.com/answerdev/answer/internal/service/collection_common"
comment2 "github.com/answerdev/answer/internal/service/comment"
export2 "github.com/answerdev/answer/internal/service/export"
"github.com/answerdev/answer/internal/service/follow"
meta2 "github.com/answerdev/answer/internal/service/meta"
notification2 "github.com/answerdev/answer/internal/service/notification"
"github.com/answerdev/answer/internal/service/notification_common"
"github.com/answerdev/answer/internal/service/object_info"
"github.com/answerdev/answer/internal/service/question_common"
rank2 "github.com/answerdev/answer/internal/service/rank"
reason2 "github.com/answerdev/answer/internal/service/reason"
report2 "github.com/answerdev/answer/internal/service/report"
"github.com/answerdev/answer/internal/service/report_backyard"
"github.com/answerdev/answer/internal/service/report_handle_backyard"
"github.com/answerdev/answer/internal/service/revision_common"
"github.com/answerdev/answer/internal/service/service_config"
tag2 "github.com/answerdev/answer/internal/service/tag"
"github.com/answerdev/answer/internal/service/tag_common"
"github.com/answerdev/answer/internal/service/uploader"
"github.com/answerdev/answer/internal/service/user_backyard"
"github.com/answerdev/answer/internal/service/user_common"
"github.com/segmentfault/pacman"
"github.com/segmentfault/pacman/log"
)

2
go.mod
View File

@ -1,4 +1,4 @@
module github.com/segmentfault/answer
module github.com/answerdev/answer
go 1.18

View File

@ -1,11 +1,11 @@
package conf
import (
"github.com/segmentfault/answer/internal/base/data"
"github.com/segmentfault/answer/internal/base/server"
"github.com/segmentfault/answer/internal/base/translator"
"github.com/segmentfault/answer/internal/router"
"github.com/segmentfault/answer/internal/service/service_config"
"github.com/answerdev/answer/internal/base/data"
"github.com/answerdev/answer/internal/base/server"
"github.com/answerdev/answer/internal/base/translator"
"github.com/answerdev/answer/internal/router"
"github.com/answerdev/answer/internal/service/service_config"
)
// AllConfig all config

View File

@ -4,10 +4,10 @@ import (
"errors"
"net/http"
"github.com/answerdev/answer/internal/base/constant"
"github.com/answerdev/answer/internal/base/reason"
"github.com/answerdev/answer/internal/base/validator"
"github.com/gin-gonic/gin"
"github.com/segmentfault/answer/internal/base/constant"
"github.com/segmentfault/answer/internal/base/reason"
"github.com/segmentfault/answer/internal/base/validator"
myErrors "github.com/segmentfault/pacman/errors"
"github.com/segmentfault/pacman/log"
)

View File

@ -1,8 +1,8 @@
package handler
import (
"github.com/answerdev/answer/internal/base/constant"
"github.com/gin-gonic/gin"
"github.com/segmentfault/answer/internal/base/constant"
"github.com/segmentfault/pacman/i18n"
)

View File

@ -1,7 +1,7 @@
package handler
import (
"github.com/segmentfault/answer/internal/base/translator"
"github.com/answerdev/answer/internal/base/translator"
"github.com/segmentfault/pacman/errors"
"github.com/segmentfault/pacman/i18n"
)

View File

@ -3,14 +3,14 @@ package middleware
import (
"strings"
"github.com/segmentfault/answer/internal/schema"
"github.com/answerdev/answer/internal/schema"
"github.com/answerdev/answer/internal/base/handler"
"github.com/answerdev/answer/internal/base/reason"
"github.com/answerdev/answer/internal/entity"
"github.com/answerdev/answer/internal/service/auth"
"github.com/answerdev/answer/pkg/converter"
"github.com/gin-gonic/gin"
"github.com/segmentfault/answer/internal/base/handler"
"github.com/segmentfault/answer/internal/base/reason"
"github.com/segmentfault/answer/internal/entity"
"github.com/segmentfault/answer/internal/service/auth"
"github.com/segmentfault/answer/pkg/converter"
"github.com/segmentfault/pacman/errors"
)

View File

@ -2,9 +2,9 @@ package server
import (
brotli "github.com/anargu/gin-brotli"
"github.com/answerdev/answer/internal/base/middleware"
"github.com/answerdev/answer/internal/router"
"github.com/gin-gonic/gin"
"github.com/segmentfault/answer/internal/base/middleware"
"github.com/segmentfault/answer/internal/router"
)
// NewHTTPServer new http server.

View File

@ -4,6 +4,8 @@ import (
"errors"
"reflect"
"github.com/answerdev/answer/internal/base/reason"
"github.com/answerdev/answer/internal/base/translator"
"github.com/go-playground/locales"
english "github.com/go-playground/locales/en"
zhongwen "github.com/go-playground/locales/zh"
@ -11,8 +13,6 @@ import (
"github.com/go-playground/validator/v10"
"github.com/go-playground/validator/v10/translations/en"
"github.com/go-playground/validator/v10/translations/zh"
"github.com/segmentfault/answer/internal/base/reason"
"github.com/segmentfault/answer/internal/base/translator"
myErrors "github.com/segmentfault/pacman/errors"
"github.com/segmentfault/pacman/i18n"
"github.com/segmentfault/pacman/log"

View File

@ -5,7 +5,7 @@ import (
"path/filepath"
"time"
"github.com/segmentfault/answer/internal/base/data"
"github.com/answerdev/answer/internal/base/data"
"xorm.io/xorm/schemas"
)

View File

@ -6,9 +6,9 @@ import (
"os"
"path/filepath"
"github.com/segmentfault/answer/configs"
"github.com/segmentfault/answer/i18n"
"github.com/segmentfault/answer/pkg/dir"
"github.com/answerdev/answer/configs"
"github.com/answerdev/answer/i18n"
"github.com/answerdev/answer/pkg/dir"
)
const (

View File

@ -1,8 +1,8 @@
package cli
import (
"github.com/segmentfault/answer/internal/base/data"
"github.com/segmentfault/answer/pkg/dir"
"github.com/answerdev/answer/internal/base/data"
"github.com/answerdev/answer/pkg/dir"
)
func CheckConfigFile(configPath string) bool {

View File

@ -3,14 +3,14 @@ package controller
import (
"fmt"
"github.com/answerdev/answer/internal/base/handler"
"github.com/answerdev/answer/internal/base/middleware"
"github.com/answerdev/answer/internal/base/reason"
"github.com/answerdev/answer/internal/entity"
"github.com/answerdev/answer/internal/schema"
"github.com/answerdev/answer/internal/service"
"github.com/answerdev/answer/internal/service/rank"
"github.com/gin-gonic/gin"
"github.com/segmentfault/answer/internal/base/handler"
"github.com/segmentfault/answer/internal/base/middleware"
"github.com/segmentfault/answer/internal/base/reason"
"github.com/segmentfault/answer/internal/entity"
"github.com/segmentfault/answer/internal/schema"
"github.com/segmentfault/answer/internal/service"
"github.com/segmentfault/answer/internal/service/rank"
"github.com/segmentfault/pacman/errors"
)

View File

@ -1,14 +1,14 @@
package controller
import (
"github.com/answerdev/answer/internal/base/handler"
"github.com/answerdev/answer/internal/base/middleware"
"github.com/answerdev/answer/internal/base/reason"
"github.com/answerdev/answer/internal/schema"
"github.com/answerdev/answer/internal/service"
"github.com/answerdev/answer/pkg/converter"
"github.com/gin-gonic/gin"
"github.com/jinzhu/copier"
"github.com/segmentfault/answer/internal/base/handler"
"github.com/segmentfault/answer/internal/base/middleware"
"github.com/segmentfault/answer/internal/base/reason"
"github.com/segmentfault/answer/internal/schema"
"github.com/segmentfault/answer/internal/service"
"github.com/segmentfault/answer/pkg/converter"
"github.com/segmentfault/pacman/errors"
)

View File

@ -1,13 +1,13 @@
package controller
import (
"github.com/answerdev/answer/internal/base/handler"
"github.com/answerdev/answer/internal/base/middleware"
"github.com/answerdev/answer/internal/base/reason"
"github.com/answerdev/answer/internal/schema"
"github.com/answerdev/answer/internal/service/comment"
"github.com/answerdev/answer/internal/service/rank"
"github.com/gin-gonic/gin"
"github.com/segmentfault/answer/internal/base/handler"
"github.com/segmentfault/answer/internal/base/middleware"
"github.com/segmentfault/answer/internal/base/reason"
"github.com/segmentfault/answer/internal/schema"
"github.com/segmentfault/answer/internal/service/comment"
"github.com/segmentfault/answer/internal/service/rank"
"github.com/segmentfault/pacman/errors"
)

View File

@ -1,12 +1,12 @@
package controller
import (
"github.com/answerdev/answer/internal/base/handler"
"github.com/answerdev/answer/internal/base/middleware"
"github.com/answerdev/answer/internal/schema"
"github.com/answerdev/answer/internal/service/follow"
"github.com/gin-gonic/gin"
"github.com/jinzhu/copier"
"github.com/segmentfault/answer/internal/base/handler"
"github.com/segmentfault/answer/internal/base/middleware"
"github.com/segmentfault/answer/internal/schema"
"github.com/segmentfault/answer/internal/service/follow"
)
// FollowController activity controller

View File

@ -3,9 +3,9 @@ package controller
import (
"encoding/json"
"github.com/answerdev/answer/internal/base/handler"
"github.com/answerdev/answer/internal/schema"
"github.com/gin-gonic/gin"
"github.com/segmentfault/answer/internal/base/handler"
"github.com/segmentfault/answer/internal/schema"
"github.com/segmentfault/pacman/i18n"
)

View File

@ -1,11 +1,11 @@
package controller
import (
"github.com/answerdev/answer/internal/base/handler"
"github.com/answerdev/answer/internal/base/middleware"
"github.com/answerdev/answer/internal/schema"
"github.com/answerdev/answer/internal/service/notification"
"github.com/gin-gonic/gin"
"github.com/segmentfault/answer/internal/base/handler"
"github.com/segmentfault/answer/internal/base/middleware"
"github.com/segmentfault/answer/internal/schema"
"github.com/segmentfault/answer/internal/service/notification"
)
// NotificationController notification controller

View File

@ -3,15 +3,15 @@ package controller
import (
"context"
"github.com/answerdev/answer/internal/base/handler"
"github.com/answerdev/answer/internal/base/middleware"
"github.com/answerdev/answer/internal/base/reason"
"github.com/answerdev/answer/internal/entity"
"github.com/answerdev/answer/internal/schema"
"github.com/answerdev/answer/internal/service"
"github.com/answerdev/answer/internal/service/rank"
"github.com/answerdev/answer/pkg/converter"
"github.com/gin-gonic/gin"
"github.com/segmentfault/answer/internal/base/handler"
"github.com/segmentfault/answer/internal/base/middleware"
"github.com/segmentfault/answer/internal/base/reason"
"github.com/segmentfault/answer/internal/entity"
"github.com/segmentfault/answer/internal/schema"
"github.com/segmentfault/answer/internal/service"
"github.com/segmentfault/answer/internal/service/rank"
"github.com/segmentfault/answer/pkg/converter"
"github.com/segmentfault/pacman/errors"
)

View File

@ -1,11 +1,11 @@
package controller
import (
"github.com/answerdev/answer/internal/base/handler"
"github.com/answerdev/answer/internal/base/middleware"
"github.com/answerdev/answer/internal/schema"
"github.com/answerdev/answer/internal/service/rank"
"github.com/gin-gonic/gin"
"github.com/segmentfault/answer/internal/base/handler"
"github.com/segmentfault/answer/internal/base/middleware"
"github.com/segmentfault/answer/internal/schema"
"github.com/segmentfault/answer/internal/service/rank"
)
// RankController rank controller

View File

@ -1,10 +1,10 @@
package controller
import (
"github.com/answerdev/answer/internal/base/handler"
"github.com/answerdev/answer/internal/schema"
"github.com/answerdev/answer/internal/service/reason"
"github.com/gin-gonic/gin"
"github.com/segmentfault/answer/internal/base/handler"
"github.com/segmentfault/answer/internal/schema"
"github.com/segmentfault/answer/internal/service/reason"
)
// ReasonController answer controller

View File

@ -1,13 +1,13 @@
package controller
import (
"github.com/answerdev/answer/internal/base/handler"
"github.com/answerdev/answer/internal/base/middleware"
"github.com/answerdev/answer/internal/base/reason"
"github.com/answerdev/answer/internal/schema"
"github.com/answerdev/answer/internal/service/rank"
"github.com/answerdev/answer/internal/service/report"
"github.com/gin-gonic/gin"
"github.com/segmentfault/answer/internal/base/handler"
"github.com/segmentfault/answer/internal/base/middleware"
"github.com/segmentfault/answer/internal/base/reason"
"github.com/segmentfault/answer/internal/schema"
"github.com/segmentfault/answer/internal/service/rank"
"github.com/segmentfault/answer/internal/service/report"
"github.com/segmentfault/pacman/errors"
)

View File

@ -1,11 +1,11 @@
package controller
import (
"github.com/answerdev/answer/internal/base/handler"
"github.com/answerdev/answer/internal/base/reason"
"github.com/answerdev/answer/internal/schema"
"github.com/answerdev/answer/internal/service"
"github.com/gin-gonic/gin"
"github.com/segmentfault/answer/internal/base/handler"
"github.com/segmentfault/answer/internal/base/reason"
"github.com/segmentfault/answer/internal/schema"
"github.com/segmentfault/answer/internal/service"
"github.com/segmentfault/pacman/errors"
)

View File

@ -1,13 +1,13 @@
package controller
import (
"github.com/answerdev/answer/internal/base/handler"
"github.com/answerdev/answer/internal/base/middleware"
"github.com/answerdev/answer/internal/base/reason"
"github.com/answerdev/answer/internal/schema"
"github.com/answerdev/answer/internal/service"
"github.com/answerdev/answer/pkg/converter"
"github.com/gin-gonic/gin"
"github.com/segmentfault/answer/internal/base/handler"
"github.com/segmentfault/answer/internal/base/middleware"
"github.com/segmentfault/answer/internal/base/reason"
"github.com/segmentfault/answer/internal/schema"
"github.com/segmentfault/answer/internal/service"
"github.com/segmentfault/answer/pkg/converter"
"github.com/segmentfault/pacman/errors"
)

View File

@ -1,10 +1,10 @@
package controller
import (
"github.com/answerdev/answer/internal/base/handler"
"github.com/answerdev/answer/internal/schema"
"github.com/answerdev/answer/internal/service"
"github.com/gin-gonic/gin"
"github.com/segmentfault/answer/internal/base/handler"
"github.com/segmentfault/answer/internal/schema"
"github.com/segmentfault/answer/internal/service"
)
type SiteinfoController struct {

View File

@ -1,13 +1,13 @@
package controller
import (
"github.com/answerdev/answer/internal/base/handler"
"github.com/answerdev/answer/internal/base/middleware"
"github.com/answerdev/answer/internal/base/reason"
"github.com/answerdev/answer/internal/schema"
"github.com/answerdev/answer/internal/service/rank"
"github.com/answerdev/answer/internal/service/tag"
"github.com/gin-gonic/gin"
"github.com/segmentfault/answer/internal/base/handler"
"github.com/segmentfault/answer/internal/base/middleware"
"github.com/segmentfault/answer/internal/base/reason"
"github.com/segmentfault/answer/internal/schema"
"github.com/segmentfault/answer/internal/service/rank"
"github.com/segmentfault/answer/internal/service/tag"
"github.com/segmentfault/pacman/errors"
)

View File

@ -5,17 +5,17 @@ import (
"path"
"strings"
"github.com/answerdev/answer/internal/base/handler"
"github.com/answerdev/answer/internal/base/middleware"
"github.com/answerdev/answer/internal/base/reason"
"github.com/answerdev/answer/internal/base/translator"
"github.com/answerdev/answer/internal/schema"
"github.com/answerdev/answer/internal/service"
"github.com/answerdev/answer/internal/service/action"
"github.com/answerdev/answer/internal/service/auth"
"github.com/answerdev/answer/internal/service/export"
"github.com/answerdev/answer/internal/service/uploader"
"github.com/gin-gonic/gin"
"github.com/segmentfault/answer/internal/base/handler"
"github.com/segmentfault/answer/internal/base/middleware"
"github.com/segmentfault/answer/internal/base/reason"
"github.com/segmentfault/answer/internal/base/translator"
"github.com/segmentfault/answer/internal/schema"
"github.com/segmentfault/answer/internal/service"
"github.com/segmentfault/answer/internal/service/action"
"github.com/segmentfault/answer/internal/service/auth"
"github.com/segmentfault/answer/internal/service/export"
"github.com/segmentfault/answer/internal/service/uploader"
"github.com/segmentfault/pacman/errors"
"github.com/segmentfault/pacman/log"
)

View File

@ -1,12 +1,12 @@
package controller
import (
"github.com/answerdev/answer/internal/base/handler"
"github.com/answerdev/answer/internal/base/middleware"
"github.com/answerdev/answer/internal/schema"
"github.com/answerdev/answer/internal/service"
"github.com/gin-gonic/gin"
"github.com/jinzhu/copier"
"github.com/segmentfault/answer/internal/base/handler"
"github.com/segmentfault/answer/internal/base/middleware"
"github.com/segmentfault/answer/internal/schema"
"github.com/segmentfault/answer/internal/service"
)
// VoteController activity controller

View File

@ -1,11 +1,11 @@
package controller_backyard
import (
"github.com/answerdev/answer/internal/base/handler"
"github.com/answerdev/answer/internal/schema"
"github.com/answerdev/answer/internal/service/report_backyard"
"github.com/answerdev/answer/pkg/converter"
"github.com/gin-gonic/gin"
"github.com/segmentfault/answer/internal/base/handler"
"github.com/segmentfault/answer/internal/schema"
"github.com/segmentfault/answer/internal/service/report_backyard"
"github.com/segmentfault/answer/pkg/converter"
)
// ReportController report controller

View File

@ -1,10 +1,10 @@
package controller_backyard
import (
"github.com/answerdev/answer/internal/base/handler"
"github.com/answerdev/answer/internal/schema"
"github.com/answerdev/answer/internal/service"
"github.com/gin-gonic/gin"
"github.com/segmentfault/answer/internal/base/handler"
"github.com/segmentfault/answer/internal/schema"
"github.com/segmentfault/answer/internal/service"
)
type SiteInfoController struct {

View File

@ -1,9 +1,9 @@
package controller_backyard
import (
"github.com/answerdev/answer/internal/base/handler"
"github.com/answerdev/answer/internal/schema"
"github.com/gin-gonic/gin"
"github.com/segmentfault/answer/internal/base/handler"
"github.com/segmentfault/answer/internal/schema"
)
type ThemeController struct{}

View File

@ -1,10 +1,10 @@
package controller_backyard
import (
"github.com/answerdev/answer/internal/base/handler"
"github.com/answerdev/answer/internal/schema"
"github.com/answerdev/answer/internal/service/user_backyard"
"github.com/gin-gonic/gin"
"github.com/segmentfault/answer/internal/base/handler"
"github.com/segmentfault/answer/internal/schema"
"github.com/segmentfault/answer/internal/service/user_backyard"
)
// UserBackyardController user controller

View File

@ -5,7 +5,7 @@ import (
"fmt"
"time"
"github.com/segmentfault/answer/pkg/converter"
"github.com/answerdev/answer/pkg/converter"
)
const (

View File

@ -3,8 +3,8 @@ package migrations
import (
"fmt"
"github.com/segmentfault/answer/internal/base/data"
"github.com/segmentfault/answer/internal/entity"
"github.com/answerdev/answer/internal/base/data"
"github.com/answerdev/answer/internal/entity"
"xorm.io/xorm"
)

View File

@ -3,8 +3,8 @@ package migrations
import (
"fmt"
"github.com/segmentfault/answer/internal/base/data"
"github.com/segmentfault/answer/internal/entity"
"github.com/answerdev/answer/internal/base/data"
"github.com/answerdev/answer/internal/entity"
"github.com/segmentfault/pacman/log"
"xorm.io/xorm"
)

View File

@ -3,15 +3,15 @@ package activity
import (
"context"
"github.com/segmentfault/answer/internal/base/constant"
"github.com/segmentfault/answer/internal/base/data"
"github.com/segmentfault/answer/internal/base/reason"
"github.com/segmentfault/answer/internal/entity"
"github.com/segmentfault/answer/internal/schema"
"github.com/segmentfault/answer/internal/service/activity"
"github.com/segmentfault/answer/internal/service/activity_common"
"github.com/segmentfault/answer/internal/service/notice_queue"
"github.com/segmentfault/answer/internal/service/rank"
"github.com/answerdev/answer/internal/base/constant"
"github.com/answerdev/answer/internal/base/data"
"github.com/answerdev/answer/internal/base/reason"
"github.com/answerdev/answer/internal/entity"
"github.com/answerdev/answer/internal/schema"
"github.com/answerdev/answer/internal/service/activity"
"github.com/answerdev/answer/internal/service/activity_common"
"github.com/answerdev/answer/internal/service/notice_queue"
"github.com/answerdev/answer/internal/service/rank"
"github.com/segmentfault/pacman/errors"
"github.com/segmentfault/pacman/log"
"xorm.io/xorm"

View File

@ -3,16 +3,16 @@ package activity
import (
"context"
"github.com/segmentfault/answer/internal/service/activity_common"
"github.com/segmentfault/answer/internal/service/follow"
"github.com/segmentfault/answer/pkg/obj"
"github.com/answerdev/answer/internal/service/activity_common"
"github.com/answerdev/answer/internal/service/follow"
"github.com/answerdev/answer/pkg/obj"
"github.com/segmentfault/pacman/log"
"xorm.io/builder"
"github.com/segmentfault/answer/internal/base/data"
"github.com/segmentfault/answer/internal/base/reason"
"github.com/segmentfault/answer/internal/entity"
"github.com/segmentfault/answer/internal/service/unique"
"github.com/answerdev/answer/internal/base/data"
"github.com/answerdev/answer/internal/base/reason"
"github.com/answerdev/answer/internal/entity"
"github.com/answerdev/answer/internal/service/unique"
"github.com/segmentfault/pacman/errors"
"xorm.io/xorm"
)

View File

@ -3,13 +3,13 @@ package activity
import (
"context"
"github.com/segmentfault/answer/internal/base/data"
"github.com/segmentfault/answer/internal/base/reason"
"github.com/segmentfault/answer/internal/entity"
"github.com/segmentfault/answer/internal/service/activity"
"github.com/segmentfault/answer/internal/service/activity_common"
"github.com/segmentfault/answer/internal/service/config"
"github.com/segmentfault/answer/internal/service/rank"
"github.com/answerdev/answer/internal/base/data"
"github.com/answerdev/answer/internal/base/reason"
"github.com/answerdev/answer/internal/entity"
"github.com/answerdev/answer/internal/service/activity"
"github.com/answerdev/answer/internal/service/activity_common"
"github.com/answerdev/answer/internal/service/config"
"github.com/answerdev/answer/internal/service/rank"
"github.com/segmentfault/pacman/errors"
"xorm.io/xorm"
)

View File

@ -2,25 +2,25 @@ package activity
import (
"context"
"github.com/segmentfault/answer/pkg/converter"
"github.com/answerdev/answer/pkg/converter"
"strings"
"github.com/segmentfault/answer/internal/base/pager"
"github.com/segmentfault/answer/internal/service/config"
"github.com/segmentfault/answer/internal/service/notice_queue"
"github.com/segmentfault/answer/internal/service/rank"
"github.com/segmentfault/answer/pkg/obj"
"github.com/answerdev/answer/internal/base/pager"
"github.com/answerdev/answer/internal/service/config"
"github.com/answerdev/answer/internal/service/notice_queue"
"github.com/answerdev/answer/internal/service/rank"
"github.com/answerdev/answer/pkg/obj"
"xorm.io/builder"
"github.com/segmentfault/answer/internal/service/activity_common"
"github.com/segmentfault/answer/internal/service/unique"
"github.com/answerdev/answer/internal/service/activity_common"
"github.com/answerdev/answer/internal/service/unique"
"github.com/segmentfault/answer/internal/base/data"
"github.com/segmentfault/answer/internal/base/reason"
"github.com/segmentfault/answer/internal/entity"
"github.com/segmentfault/answer/internal/schema"
"github.com/segmentfault/answer/internal/service"
"github.com/answerdev/answer/internal/base/data"
"github.com/answerdev/answer/internal/base/reason"
"github.com/answerdev/answer/internal/entity"
"github.com/answerdev/answer/internal/schema"
"github.com/answerdev/answer/internal/service"
"github.com/segmentfault/pacman/errors"
"xorm.io/xorm"
)

View File

@ -3,12 +3,12 @@ package activity_common
import (
"context"
"github.com/segmentfault/answer/internal/base/data"
"github.com/segmentfault/answer/internal/base/reason"
"github.com/segmentfault/answer/internal/entity"
"github.com/segmentfault/answer/internal/service/activity_common"
"github.com/segmentfault/answer/internal/service/unique"
"github.com/segmentfault/answer/pkg/obj"
"github.com/answerdev/answer/internal/base/data"
"github.com/answerdev/answer/internal/base/reason"
"github.com/answerdev/answer/internal/entity"
"github.com/answerdev/answer/internal/service/activity_common"
"github.com/answerdev/answer/internal/service/unique"
"github.com/answerdev/answer/pkg/obj"
"github.com/segmentfault/pacman/errors"
)

View File

@ -3,10 +3,10 @@ package activity_common
import (
"context"
"github.com/segmentfault/answer/internal/base/data"
"github.com/segmentfault/answer/internal/entity"
"github.com/segmentfault/answer/internal/service/activity_common"
"github.com/segmentfault/answer/internal/service/unique"
"github.com/answerdev/answer/internal/base/data"
"github.com/answerdev/answer/internal/entity"
"github.com/answerdev/answer/internal/service/activity_common"
"github.com/answerdev/answer/internal/service/unique"
)
// VoteRepo activity repository

View File

@ -4,16 +4,16 @@ import (
"context"
"fmt"
"github.com/segmentfault/answer/internal/entity"
"github.com/segmentfault/answer/internal/service/activity_common"
"github.com/segmentfault/answer/pkg/obj"
"github.com/answerdev/answer/internal/entity"
"github.com/answerdev/answer/internal/service/activity_common"
"github.com/answerdev/answer/pkg/obj"
"xorm.io/builder"
"xorm.io/xorm"
"github.com/segmentfault/answer/internal/base/data"
"github.com/segmentfault/answer/internal/base/reason"
"github.com/segmentfault/answer/internal/service/config"
"github.com/segmentfault/answer/internal/service/unique"
"github.com/answerdev/answer/internal/base/data"
"github.com/answerdev/answer/internal/base/reason"
"github.com/answerdev/answer/internal/service/config"
"github.com/answerdev/answer/internal/service/unique"
"github.com/segmentfault/pacman/errors"
)

View File

@ -4,16 +4,16 @@ import (
"context"
"time"
"github.com/segmentfault/answer/internal/base/constant"
"github.com/segmentfault/answer/internal/base/data"
"github.com/segmentfault/answer/internal/base/pager"
"github.com/segmentfault/answer/internal/base/reason"
"github.com/segmentfault/answer/internal/entity"
"github.com/segmentfault/answer/internal/schema"
"github.com/segmentfault/answer/internal/service/activity_common"
answercommon "github.com/segmentfault/answer/internal/service/answer_common"
"github.com/segmentfault/answer/internal/service/rank"
"github.com/segmentfault/answer/internal/service/unique"
"github.com/answerdev/answer/internal/base/constant"
"github.com/answerdev/answer/internal/base/data"
"github.com/answerdev/answer/internal/base/pager"
"github.com/answerdev/answer/internal/base/reason"
"github.com/answerdev/answer/internal/entity"
"github.com/answerdev/answer/internal/schema"
"github.com/answerdev/answer/internal/service/activity_common"
answercommon "github.com/answerdev/answer/internal/service/answer_common"
"github.com/answerdev/answer/internal/service/rank"
"github.com/answerdev/answer/internal/service/unique"
"github.com/segmentfault/pacman/errors"
)

View File

@ -4,11 +4,11 @@ import (
"context"
"encoding/json"
"github.com/segmentfault/answer/internal/base/constant"
"github.com/segmentfault/answer/internal/base/data"
"github.com/segmentfault/answer/internal/base/reason"
"github.com/segmentfault/answer/internal/entity"
"github.com/segmentfault/answer/internal/service/auth"
"github.com/answerdev/answer/internal/base/constant"
"github.com/answerdev/answer/internal/base/data"
"github.com/answerdev/answer/internal/base/reason"
"github.com/answerdev/answer/internal/entity"
"github.com/answerdev/answer/internal/service/auth"
"github.com/segmentfault/pacman/errors"
)

View File

@ -5,9 +5,9 @@ import (
"fmt"
"time"
"github.com/segmentfault/answer/internal/base/data"
"github.com/segmentfault/answer/internal/base/reason"
"github.com/segmentfault/answer/internal/service/action"
"github.com/answerdev/answer/internal/base/data"
"github.com/answerdev/answer/internal/base/reason"
"github.com/answerdev/answer/internal/service/action"
"github.com/segmentfault/pacman/errors"
)

View File

@ -3,12 +3,12 @@ package collection
import (
"context"
"github.com/segmentfault/answer/internal/base/data"
"github.com/segmentfault/answer/internal/base/pager"
"github.com/segmentfault/answer/internal/base/reason"
"github.com/segmentfault/answer/internal/entity"
"github.com/segmentfault/answer/internal/schema"
"github.com/segmentfault/answer/internal/service"
"github.com/answerdev/answer/internal/base/data"
"github.com/answerdev/answer/internal/base/pager"
"github.com/answerdev/answer/internal/base/reason"
"github.com/answerdev/answer/internal/entity"
"github.com/answerdev/answer/internal/schema"
"github.com/answerdev/answer/internal/service"
"github.com/segmentfault/pacman/errors"
)

View File

@ -3,13 +3,13 @@ package collection
import (
"context"
"github.com/segmentfault/answer/internal/base/constant"
"github.com/segmentfault/answer/internal/base/data"
"github.com/segmentfault/answer/internal/base/pager"
"github.com/segmentfault/answer/internal/base/reason"
"github.com/segmentfault/answer/internal/entity"
collectioncommon "github.com/segmentfault/answer/internal/service/collection_common"
"github.com/segmentfault/answer/internal/service/unique"
"github.com/answerdev/answer/internal/base/constant"
"github.com/answerdev/answer/internal/base/data"
"github.com/answerdev/answer/internal/base/pager"
"github.com/answerdev/answer/internal/base/reason"
"github.com/answerdev/answer/internal/entity"
collectioncommon "github.com/answerdev/answer/internal/service/collection_common"
"github.com/answerdev/answer/internal/service/unique"
"github.com/segmentfault/pacman/errors"
)

View File

@ -3,13 +3,13 @@ package comment
import (
"context"
"github.com/segmentfault/answer/internal/base/data"
"github.com/segmentfault/answer/internal/base/pager"
"github.com/segmentfault/answer/internal/base/reason"
"github.com/segmentfault/answer/internal/entity"
"github.com/segmentfault/answer/internal/service/comment"
"github.com/segmentfault/answer/internal/service/comment_common"
"github.com/segmentfault/answer/internal/service/unique"
"github.com/answerdev/answer/internal/base/data"
"github.com/answerdev/answer/internal/base/pager"
"github.com/answerdev/answer/internal/base/reason"
"github.com/answerdev/answer/internal/entity"
"github.com/answerdev/answer/internal/service/comment"
"github.com/answerdev/answer/internal/service/comment_common"
"github.com/answerdev/answer/internal/service/unique"
"github.com/segmentfault/pacman/errors"
)

View File

@ -1,11 +1,11 @@
package common
import (
"github.com/segmentfault/answer/internal/base/data"
"github.com/segmentfault/answer/internal/base/reason"
"github.com/segmentfault/answer/internal/entity"
"github.com/segmentfault/answer/internal/service/unique"
"github.com/segmentfault/answer/pkg/obj"
"github.com/answerdev/answer/internal/base/data"
"github.com/answerdev/answer/internal/base/reason"
"github.com/answerdev/answer/internal/entity"
"github.com/answerdev/answer/internal/service/unique"
"github.com/answerdev/answer/pkg/obj"
"github.com/segmentfault/pacman/errors"
"github.com/segmentfault/pacman/log"
)

View File

@ -5,12 +5,12 @@ import (
"fmt"
"sync"
"github.com/segmentfault/answer/internal/service/config"
"github.com/segmentfault/answer/pkg/converter"
"github.com/answerdev/answer/internal/service/config"
"github.com/answerdev/answer/pkg/converter"
"github.com/segmentfault/answer/internal/base/data"
"github.com/segmentfault/answer/internal/base/reason"
"github.com/segmentfault/answer/internal/entity"
"github.com/answerdev/answer/internal/base/data"
"github.com/answerdev/answer/internal/base/reason"
"github.com/answerdev/answer/internal/entity"
"github.com/segmentfault/pacman/errors"
)

View File

@ -4,9 +4,9 @@ import (
"context"
"time"
"github.com/segmentfault/answer/internal/base/data"
"github.com/segmentfault/answer/internal/base/reason"
"github.com/segmentfault/answer/internal/service/export"
"github.com/answerdev/answer/internal/base/data"
"github.com/answerdev/answer/internal/base/reason"
"github.com/answerdev/answer/internal/service/export"
"github.com/segmentfault/pacman/errors"
)

View File

@ -3,11 +3,11 @@ package meta
import (
"context"
"github.com/segmentfault/answer/internal/base/data"
"github.com/segmentfault/answer/internal/base/pager"
"github.com/segmentfault/answer/internal/base/reason"
"github.com/segmentfault/answer/internal/entity"
"github.com/segmentfault/answer/internal/service/meta"
"github.com/answerdev/answer/internal/base/data"
"github.com/answerdev/answer/internal/base/pager"
"github.com/answerdev/answer/internal/base/reason"
"github.com/answerdev/answer/internal/entity"
"github.com/answerdev/answer/internal/service/meta"
"github.com/segmentfault/pacman/errors"
"xorm.io/builder"
)

View File

@ -4,12 +4,12 @@ import (
"context"
"time"
"github.com/segmentfault/answer/internal/base/constant"
"github.com/segmentfault/answer/internal/base/data"
"github.com/segmentfault/answer/internal/base/reason"
"github.com/segmentfault/answer/internal/entity"
"github.com/segmentfault/answer/internal/schema"
notficationcommon "github.com/segmentfault/answer/internal/service/notification_common"
"github.com/answerdev/answer/internal/base/constant"
"github.com/answerdev/answer/internal/base/data"
"github.com/answerdev/answer/internal/base/reason"
"github.com/answerdev/answer/internal/entity"
"github.com/answerdev/answer/internal/schema"
notficationcommon "github.com/answerdev/answer/internal/service/notification_common"
"github.com/segmentfault/pacman/errors"
)

View File

@ -1,26 +1,26 @@
package repo
import (
"github.com/answerdev/answer/internal/base/data"
"github.com/answerdev/answer/internal/repo/activity"
"github.com/answerdev/answer/internal/repo/activity_common"
"github.com/answerdev/answer/internal/repo/auth"
"github.com/answerdev/answer/internal/repo/captcha"
"github.com/answerdev/answer/internal/repo/collection"
"github.com/answerdev/answer/internal/repo/comment"
"github.com/answerdev/answer/internal/repo/common"
"github.com/answerdev/answer/internal/repo/config"
"github.com/answerdev/answer/internal/repo/export"
"github.com/answerdev/answer/internal/repo/meta"
"github.com/answerdev/answer/internal/repo/notification"
"github.com/answerdev/answer/internal/repo/rank"
"github.com/answerdev/answer/internal/repo/reason"
"github.com/answerdev/answer/internal/repo/report"
"github.com/answerdev/answer/internal/repo/revision"
"github.com/answerdev/answer/internal/repo/tag"
"github.com/answerdev/answer/internal/repo/unique"
"github.com/answerdev/answer/internal/repo/user"
"github.com/google/wire"
"github.com/segmentfault/answer/internal/base/data"
"github.com/segmentfault/answer/internal/repo/activity"
"github.com/segmentfault/answer/internal/repo/activity_common"
"github.com/segmentfault/answer/internal/repo/auth"
"github.com/segmentfault/answer/internal/repo/captcha"
"github.com/segmentfault/answer/internal/repo/collection"
"github.com/segmentfault/answer/internal/repo/comment"
"github.com/segmentfault/answer/internal/repo/common"
"github.com/segmentfault/answer/internal/repo/config"
"github.com/segmentfault/answer/internal/repo/export"
"github.com/segmentfault/answer/internal/repo/meta"
"github.com/segmentfault/answer/internal/repo/notification"
"github.com/segmentfault/answer/internal/repo/rank"
"github.com/segmentfault/answer/internal/repo/reason"
"github.com/segmentfault/answer/internal/repo/report"
"github.com/segmentfault/answer/internal/repo/revision"
"github.com/segmentfault/answer/internal/repo/tag"
"github.com/segmentfault/answer/internal/repo/unique"
"github.com/segmentfault/answer/internal/repo/user"
)
// ProviderSetRepo is data providers.

View File

@ -4,14 +4,14 @@ import (
"context"
"time"
"github.com/segmentfault/answer/internal/base/constant"
"github.com/segmentfault/answer/internal/base/data"
"github.com/segmentfault/answer/internal/base/pager"
"github.com/segmentfault/answer/internal/base/reason"
"github.com/segmentfault/answer/internal/entity"
"github.com/segmentfault/answer/internal/schema"
questioncommon "github.com/segmentfault/answer/internal/service/question_common"
"github.com/segmentfault/answer/internal/service/unique"
"github.com/answerdev/answer/internal/base/constant"
"github.com/answerdev/answer/internal/base/data"
"github.com/answerdev/answer/internal/base/pager"
"github.com/answerdev/answer/internal/base/reason"
"github.com/answerdev/answer/internal/entity"
"github.com/answerdev/answer/internal/schema"
questioncommon "github.com/answerdev/answer/internal/service/question_common"
"github.com/answerdev/answer/internal/service/unique"
"github.com/segmentfault/pacman/errors"
)

View File

@ -3,13 +3,13 @@ package rank
import (
"context"
"github.com/answerdev/answer/internal/base/data"
"github.com/answerdev/answer/internal/base/pager"
"github.com/answerdev/answer/internal/base/reason"
"github.com/answerdev/answer/internal/entity"
"github.com/answerdev/answer/internal/service/config"
"github.com/answerdev/answer/internal/service/rank"
"github.com/jinzhu/now"
"github.com/segmentfault/answer/internal/base/data"
"github.com/segmentfault/answer/internal/base/pager"
"github.com/segmentfault/answer/internal/base/reason"
"github.com/segmentfault/answer/internal/entity"
"github.com/segmentfault/answer/internal/service/config"
"github.com/segmentfault/answer/internal/service/rank"
"github.com/segmentfault/pacman/errors"
"github.com/segmentfault/pacman/log"
"xorm.io/builder"

View File

@ -5,9 +5,9 @@ import (
"encoding/json"
"fmt"
"github.com/segmentfault/answer/internal/schema"
"github.com/segmentfault/answer/internal/service/config"
"github.com/segmentfault/answer/internal/service/reason_common"
"github.com/answerdev/answer/internal/schema"
"github.com/answerdev/answer/internal/service/config"
"github.com/answerdev/answer/internal/service/reason_common"
"github.com/segmentfault/pacman/log"
)

View File

@ -3,15 +3,15 @@ package report
import (
"context"
"github.com/segmentfault/answer/internal/base/constant"
"github.com/segmentfault/answer/internal/base/pager"
"github.com/segmentfault/answer/internal/schema"
"github.com/segmentfault/answer/internal/service/report_common"
"github.com/answerdev/answer/internal/base/constant"
"github.com/answerdev/answer/internal/base/pager"
"github.com/answerdev/answer/internal/schema"
"github.com/answerdev/answer/internal/service/report_common"
"github.com/segmentfault/answer/internal/base/data"
"github.com/segmentfault/answer/internal/base/reason"
"github.com/segmentfault/answer/internal/entity"
"github.com/segmentfault/answer/internal/service/unique"
"github.com/answerdev/answer/internal/base/data"
"github.com/answerdev/answer/internal/base/reason"
"github.com/answerdev/answer/internal/entity"
"github.com/answerdev/answer/internal/service/unique"
"github.com/segmentfault/pacman/errors"
)

View File

@ -3,13 +3,13 @@ package revision
import (
"context"
"github.com/segmentfault/answer/internal/base/constant"
"github.com/segmentfault/answer/internal/base/data"
"github.com/segmentfault/answer/internal/base/reason"
"github.com/segmentfault/answer/internal/entity"
"github.com/segmentfault/answer/internal/service/revision"
"github.com/segmentfault/answer/internal/service/unique"
"github.com/segmentfault/answer/pkg/obj"
"github.com/answerdev/answer/internal/base/constant"
"github.com/answerdev/answer/internal/base/data"
"github.com/answerdev/answer/internal/base/reason"
"github.com/answerdev/answer/internal/entity"
"github.com/answerdev/answer/internal/service/revision"
"github.com/answerdev/answer/internal/service/unique"
"github.com/answerdev/answer/pkg/obj"
"github.com/segmentfault/pacman/errors"
"xorm.io/builder"
"xorm.io/xorm"

View File

@ -6,16 +6,16 @@ import (
"strings"
"time"
"github.com/answerdev/answer/internal/base/data"
"github.com/answerdev/answer/internal/base/reason"
"github.com/answerdev/answer/internal/entity"
"github.com/answerdev/answer/internal/schema"
"github.com/answerdev/answer/internal/service/search_common"
"github.com/answerdev/answer/internal/service/unique"
usercommon "github.com/answerdev/answer/internal/service/user_common"
"github.com/answerdev/answer/pkg/converter"
"github.com/answerdev/answer/pkg/obj"
"github.com/jinzhu/copier"
"github.com/segmentfault/answer/internal/base/data"
"github.com/segmentfault/answer/internal/base/reason"
"github.com/segmentfault/answer/internal/entity"
"github.com/segmentfault/answer/internal/schema"
"github.com/segmentfault/answer/internal/service/search_common"
"github.com/segmentfault/answer/internal/service/unique"
usercommon "github.com/segmentfault/answer/internal/service/user_common"
"github.com/segmentfault/answer/pkg/converter"
"github.com/segmentfault/answer/pkg/obj"
"github.com/segmentfault/pacman/errors"
"xorm.io/builder"
)

View File

@ -3,10 +3,10 @@ package repo
import (
"context"
"github.com/segmentfault/answer/internal/base/data"
"github.com/segmentfault/answer/internal/base/reason"
"github.com/segmentfault/answer/internal/entity"
"github.com/segmentfault/answer/internal/service/siteinfo_common"
"github.com/answerdev/answer/internal/base/data"
"github.com/answerdev/answer/internal/base/reason"
"github.com/answerdev/answer/internal/entity"
"github.com/answerdev/answer/internal/service/siteinfo_common"
"github.com/segmentfault/pacman/errors"
"xorm.io/builder"
)

View File

@ -3,10 +3,10 @@ package tag
import (
"context"
"github.com/segmentfault/answer/internal/base/data"
"github.com/segmentfault/answer/internal/base/reason"
"github.com/segmentfault/answer/internal/entity"
tagcommon "github.com/segmentfault/answer/internal/service/tag_common"
"github.com/answerdev/answer/internal/base/data"
"github.com/answerdev/answer/internal/base/reason"
"github.com/answerdev/answer/internal/entity"
tagcommon "github.com/answerdev/answer/internal/service/tag_common"
"github.com/segmentfault/pacman/errors"
)

View File

@ -4,12 +4,12 @@ import (
"context"
"fmt"
"github.com/segmentfault/answer/internal/base/data"
"github.com/segmentfault/answer/internal/base/pager"
"github.com/segmentfault/answer/internal/base/reason"
"github.com/segmentfault/answer/internal/entity"
tagcommon "github.com/segmentfault/answer/internal/service/tag_common"
"github.com/segmentfault/answer/internal/service/unique"
"github.com/answerdev/answer/internal/base/data"
"github.com/answerdev/answer/internal/base/pager"
"github.com/answerdev/answer/internal/base/reason"
"github.com/answerdev/answer/internal/entity"
tagcommon "github.com/answerdev/answer/internal/service/tag_common"
"github.com/answerdev/answer/internal/service/unique"
"github.com/segmentfault/pacman/errors"
"xorm.io/builder"
)

View File

@ -5,11 +5,11 @@ import (
"fmt"
"strconv"
"github.com/segmentfault/answer/internal/base/constant"
"github.com/segmentfault/answer/internal/base/data"
"github.com/segmentfault/answer/internal/base/reason"
"github.com/segmentfault/answer/internal/entity"
"github.com/segmentfault/answer/internal/service/unique"
"github.com/answerdev/answer/internal/base/constant"
"github.com/answerdev/answer/internal/base/data"
"github.com/answerdev/answer/internal/base/reason"
"github.com/answerdev/answer/internal/entity"
"github.com/answerdev/answer/internal/service/unique"
"github.com/segmentfault/pacman/errors"
)

View File

@ -5,12 +5,12 @@ import (
"encoding/json"
"time"
"github.com/segmentfault/answer/internal/base/constant"
"github.com/segmentfault/answer/internal/base/data"
"github.com/segmentfault/answer/internal/base/pager"
"github.com/segmentfault/answer/internal/base/reason"
"github.com/segmentfault/answer/internal/entity"
"github.com/segmentfault/answer/internal/service/user_backyard"
"github.com/answerdev/answer/internal/base/constant"
"github.com/answerdev/answer/internal/base/data"
"github.com/answerdev/answer/internal/base/pager"
"github.com/answerdev/answer/internal/base/reason"
"github.com/answerdev/answer/internal/entity"
"github.com/answerdev/answer/internal/service/user_backyard"
"github.com/segmentfault/pacman/errors"
"github.com/segmentfault/pacman/log"
)

View File

@ -5,11 +5,11 @@ import (
"fmt"
"time"
"github.com/segmentfault/answer/internal/base/data"
"github.com/segmentfault/answer/internal/base/reason"
"github.com/segmentfault/answer/internal/entity"
"github.com/segmentfault/answer/internal/service/config"
usercommon "github.com/segmentfault/answer/internal/service/user_common"
"github.com/answerdev/answer/internal/base/data"
"github.com/answerdev/answer/internal/base/reason"
"github.com/answerdev/answer/internal/entity"
"github.com/answerdev/answer/internal/service/config"
usercommon "github.com/answerdev/answer/internal/service/user_common"
"github.com/segmentfault/pacman/errors"
)

View File

@ -1,9 +1,9 @@
package router
import (
"github.com/answerdev/answer/internal/controller"
"github.com/answerdev/answer/internal/controller_backyard"
"github.com/gin-gonic/gin"
"github.com/segmentfault/answer/internal/controller"
"github.com/segmentfault/answer/internal/controller_backyard"
)
type AnswerAPIRouter struct {

View File

@ -1,8 +1,8 @@
package router
import (
"github.com/answerdev/answer/internal/service/service_config"
"github.com/gin-gonic/gin"
"github.com/segmentfault/answer/internal/service/service_config"
)
// StaticRouter static api router

View File

@ -3,8 +3,8 @@ package router
import (
"fmt"
"github.com/answerdev/answer/docs"
"github.com/gin-gonic/gin"
"github.com/segmentfault/answer/docs"
swaggerfiles "github.com/swaggo/files"
ginSwagger "github.com/swaggo/gin-swagger"
)

View File

@ -7,8 +7,8 @@ import (
"net/http"
"os"
"github.com/answerdev/answer/ui"
"github.com/gin-gonic/gin"
"github.com/segmentfault/answer/ui"
"github.com/segmentfault/pacman/log"
)

View File

@ -1,8 +1,8 @@
package schema
import (
"github.com/answerdev/answer/internal/entity"
"github.com/jinzhu/copier"
"github.com/segmentfault/answer/internal/entity"
)
// AddCommentReq add comment request

View File

@ -3,7 +3,7 @@ package schema
import (
"time"
"github.com/segmentfault/answer/internal/base/constant"
"github.com/answerdev/answer/internal/base/constant"
)
// AddReportReq add report request

View File

@ -3,8 +3,8 @@ package schema
import (
"strings"
"github.com/segmentfault/answer/internal/base/reason"
"github.com/segmentfault/answer/internal/base/validator"
"github.com/answerdev/answer/internal/base/reason"
"github.com/answerdev/answer/internal/base/validator"
"github.com/segmentfault/pacman/errors"
)

View File

@ -4,11 +4,11 @@ import (
"encoding/json"
"regexp"
"github.com/answerdev/answer/internal/base/reason"
"github.com/answerdev/answer/internal/base/validator"
"github.com/answerdev/answer/internal/entity"
"github.com/answerdev/answer/pkg/checker"
"github.com/jinzhu/copier"
"github.com/segmentfault/answer/internal/base/reason"
"github.com/segmentfault/answer/internal/base/validator"
"github.com/segmentfault/answer/internal/entity"
"github.com/segmentfault/answer/pkg/checker"
"github.com/segmentfault/pacman/errors"
)

View File

@ -5,9 +5,9 @@ import (
"image/color"
"strings"
"github.com/answerdev/answer/internal/base/reason"
"github.com/answerdev/answer/internal/schema"
"github.com/mojocn/base64Captcha"
"github.com/segmentfault/answer/internal/base/reason"
"github.com/segmentfault/answer/internal/schema"
"github.com/segmentfault/pacman/errors"
"github.com/segmentfault/pacman/log"
)

View File

@ -3,7 +3,7 @@ package activity_common
import (
"context"
"github.com/segmentfault/answer/internal/entity"
"github.com/answerdev/answer/internal/entity"
"xorm.io/xorm"
)

View File

@ -1,6 +1,6 @@
package activity_type
import "github.com/segmentfault/answer/internal/repo/config"
import "github.com/answerdev/answer/internal/repo/config"
const (
QuestionVoteUp = "question.vote_up"

View File

@ -3,8 +3,8 @@ package answercommon
import (
"context"
"github.com/segmentfault/answer/internal/entity"
"github.com/segmentfault/answer/internal/schema"
"github.com/answerdev/answer/internal/entity"
"github.com/answerdev/answer/internal/schema"
)
type AnswerRepo interface {

View File

@ -6,20 +6,20 @@ import (
"fmt"
"time"
"github.com/segmentfault/answer/internal/base/constant"
"github.com/segmentfault/answer/internal/service/activity"
"github.com/segmentfault/answer/internal/service/activity_common"
"github.com/segmentfault/answer/internal/service/notice_queue"
"github.com/segmentfault/answer/internal/service/revision_common"
"github.com/answerdev/answer/internal/base/constant"
"github.com/answerdev/answer/internal/service/activity"
"github.com/answerdev/answer/internal/service/activity_common"
"github.com/answerdev/answer/internal/service/notice_queue"
"github.com/answerdev/answer/internal/service/revision_common"
"github.com/segmentfault/answer/internal/base/reason"
"github.com/segmentfault/answer/internal/entity"
"github.com/segmentfault/answer/internal/schema"
answercommon "github.com/segmentfault/answer/internal/service/answer_common"
collectioncommon "github.com/segmentfault/answer/internal/service/collection_common"
"github.com/segmentfault/answer/internal/service/permission"
questioncommon "github.com/segmentfault/answer/internal/service/question_common"
usercommon "github.com/segmentfault/answer/internal/service/user_common"
"github.com/answerdev/answer/internal/base/reason"
"github.com/answerdev/answer/internal/entity"
"github.com/answerdev/answer/internal/schema"
answercommon "github.com/answerdev/answer/internal/service/answer_common"
collectioncommon "github.com/answerdev/answer/internal/service/collection_common"
"github.com/answerdev/answer/internal/service/permission"
questioncommon "github.com/answerdev/answer/internal/service/question_common"
usercommon "github.com/answerdev/answer/internal/service/user_common"
"github.com/segmentfault/pacman/errors"
"github.com/segmentfault/pacman/log"
)

View File

@ -3,8 +3,8 @@ package auth
import (
"context"
"github.com/segmentfault/answer/internal/entity"
"github.com/segmentfault/answer/pkg/token"
"github.com/answerdev/answer/internal/entity"
"github.com/answerdev/answer/pkg/token"
"github.com/segmentfault/pacman/log"
)

View File

@ -3,7 +3,7 @@ package collectioncommon
import (
"context"
"github.com/segmentfault/answer/internal/entity"
"github.com/answerdev/answer/internal/entity"
)
// CollectionRepo collection repository

View File

@ -3,10 +3,10 @@ package service
import (
"context"
"github.com/answerdev/answer/internal/base/reason"
"github.com/answerdev/answer/internal/entity"
"github.com/answerdev/answer/internal/schema"
"github.com/jinzhu/copier"
"github.com/segmentfault/answer/internal/base/reason"
"github.com/segmentfault/answer/internal/entity"
"github.com/segmentfault/answer/internal/schema"
"github.com/segmentfault/pacman/errors"
)

View File

@ -4,10 +4,10 @@ import (
"context"
"fmt"
"github.com/segmentfault/answer/internal/entity"
"github.com/segmentfault/answer/internal/schema"
collectioncommon "github.com/segmentfault/answer/internal/service/collection_common"
questioncommon "github.com/segmentfault/answer/internal/service/question_common"
"github.com/answerdev/answer/internal/entity"
"github.com/answerdev/answer/internal/schema"
collectioncommon "github.com/answerdev/answer/internal/service/collection_common"
questioncommon "github.com/answerdev/answer/internal/service/question_common"
"github.com/segmentfault/pacman/errors"
"github.com/segmentfault/pacman/log"
)

View File

@ -3,18 +3,18 @@ package comment
import (
"context"
"github.com/answerdev/answer/internal/base/constant"
"github.com/answerdev/answer/internal/base/pager"
"github.com/answerdev/answer/internal/base/reason"
"github.com/answerdev/answer/internal/entity"
"github.com/answerdev/answer/internal/schema"
"github.com/answerdev/answer/internal/service/activity_common"
"github.com/answerdev/answer/internal/service/comment_common"
"github.com/answerdev/answer/internal/service/notice_queue"
object_info "github.com/answerdev/answer/internal/service/object_info"
"github.com/answerdev/answer/internal/service/permission"
usercommon "github.com/answerdev/answer/internal/service/user_common"
"github.com/jinzhu/copier"
"github.com/segmentfault/answer/internal/base/constant"
"github.com/segmentfault/answer/internal/base/pager"
"github.com/segmentfault/answer/internal/base/reason"
"github.com/segmentfault/answer/internal/entity"
"github.com/segmentfault/answer/internal/schema"
"github.com/segmentfault/answer/internal/service/activity_common"
"github.com/segmentfault/answer/internal/service/comment_common"
"github.com/segmentfault/answer/internal/service/notice_queue"
object_info "github.com/segmentfault/answer/internal/service/object_info"
"github.com/segmentfault/answer/internal/service/permission"
usercommon "github.com/segmentfault/answer/internal/service/user_common"
"github.com/segmentfault/pacman/errors"
"github.com/segmentfault/pacman/log"
)

View File

@ -3,9 +3,9 @@ package comment_common
import (
"context"
"github.com/segmentfault/answer/internal/base/reason"
"github.com/segmentfault/answer/internal/entity"
"github.com/segmentfault/answer/internal/schema"
"github.com/answerdev/answer/internal/base/reason"
"github.com/answerdev/answer/internal/entity"
"github.com/answerdev/answer/internal/schema"
"github.com/segmentfault/pacman/errors"
)

View File

@ -6,8 +6,8 @@ import (
"fmt"
"html/template"
"github.com/segmentfault/answer/internal/base/reason"
"github.com/segmentfault/answer/internal/service/config"
"github.com/answerdev/answer/internal/base/reason"
"github.com/answerdev/answer/internal/service/config"
"github.com/segmentfault/pacman/errors"
"github.com/segmentfault/pacman/log"
"golang.org/x/net/context"

View File

@ -3,10 +3,10 @@ package follow
import (
"context"
"github.com/segmentfault/answer/internal/entity"
"github.com/segmentfault/answer/internal/schema"
"github.com/segmentfault/answer/internal/service/activity_common"
tagcommon "github.com/segmentfault/answer/internal/service/tag_common"
"github.com/answerdev/answer/internal/entity"
"github.com/answerdev/answer/internal/schema"
"github.com/answerdev/answer/internal/service/activity_common"
tagcommon "github.com/answerdev/answer/internal/service/tag_common"
)
type FollowRepo interface {

View File

@ -3,8 +3,8 @@ package meta
import (
"context"
"github.com/segmentfault/answer/internal/base/reason"
"github.com/segmentfault/answer/internal/entity"
"github.com/answerdev/answer/internal/base/reason"
"github.com/answerdev/answer/internal/entity"
"github.com/segmentfault/pacman/errors"
)

View File

@ -1,7 +1,7 @@
package notice_queue
import (
"github.com/segmentfault/answer/internal/schema"
"github.com/answerdev/answer/internal/schema"
)
var (

View File

@ -5,12 +5,12 @@ import (
"encoding/json"
"fmt"
"github.com/segmentfault/answer/internal/base/constant"
"github.com/segmentfault/answer/internal/base/data"
"github.com/segmentfault/answer/internal/base/pager"
"github.com/segmentfault/answer/internal/base/translator"
"github.com/segmentfault/answer/internal/schema"
notficationcommon "github.com/segmentfault/answer/internal/service/notification_common"
"github.com/answerdev/answer/internal/base/constant"
"github.com/answerdev/answer/internal/base/data"
"github.com/answerdev/answer/internal/base/pager"
"github.com/answerdev/answer/internal/base/translator"
"github.com/answerdev/answer/internal/schema"
notficationcommon "github.com/answerdev/answer/internal/service/notification_common"
"github.com/segmentfault/pacman/i18n"
"github.com/segmentfault/pacman/log"
)

View File

@ -5,17 +5,17 @@ import (
"fmt"
"time"
"github.com/answerdev/answer/internal/base/constant"
"github.com/answerdev/answer/internal/base/data"
"github.com/answerdev/answer/internal/base/reason"
"github.com/answerdev/answer/internal/entity"
"github.com/answerdev/answer/internal/schema"
"github.com/answerdev/answer/internal/service/activity_common"
"github.com/answerdev/answer/internal/service/notice_queue"
"github.com/answerdev/answer/internal/service/object_info"
usercommon "github.com/answerdev/answer/internal/service/user_common"
"github.com/goccy/go-json"
"github.com/jinzhu/copier"
"github.com/segmentfault/answer/internal/base/constant"
"github.com/segmentfault/answer/internal/base/data"
"github.com/segmentfault/answer/internal/base/reason"
"github.com/segmentfault/answer/internal/entity"
"github.com/segmentfault/answer/internal/schema"
"github.com/segmentfault/answer/internal/service/activity_common"
"github.com/segmentfault/answer/internal/service/notice_queue"
"github.com/segmentfault/answer/internal/service/object_info"
usercommon "github.com/segmentfault/answer/internal/service/user_common"
"github.com/segmentfault/pacman/errors"
"github.com/segmentfault/pacman/log"
)

View File

@ -3,14 +3,14 @@ package object_info
import (
"context"
"github.com/segmentfault/answer/internal/base/constant"
"github.com/segmentfault/answer/internal/base/reason"
"github.com/segmentfault/answer/internal/schema"
answercommon "github.com/segmentfault/answer/internal/service/answer_common"
"github.com/segmentfault/answer/internal/service/comment_common"
questioncommon "github.com/segmentfault/answer/internal/service/question_common"
tagcommon "github.com/segmentfault/answer/internal/service/tag_common"
"github.com/segmentfault/answer/pkg/obj"
"github.com/answerdev/answer/internal/base/constant"
"github.com/answerdev/answer/internal/base/reason"
"github.com/answerdev/answer/internal/schema"
answercommon "github.com/answerdev/answer/internal/service/answer_common"
"github.com/answerdev/answer/internal/service/comment_common"
questioncommon "github.com/answerdev/answer/internal/service/question_common"
tagcommon "github.com/answerdev/answer/internal/service/tag_common"
"github.com/answerdev/answer/pkg/obj"
"github.com/segmentfault/pacman/errors"
)

View File

@ -1,6 +1,6 @@
package permission
import "github.com/segmentfault/answer/internal/schema"
import "github.com/answerdev/answer/internal/schema"
// TODO: There is currently no permission management
func GetCommentPermission(userID string, commentCreatorUserID string) (

View File

@ -1,32 +1,32 @@
package service
import (
"github.com/answerdev/answer/internal/service/action"
"github.com/answerdev/answer/internal/service/activity"
answercommon "github.com/answerdev/answer/internal/service/answer_common"
"github.com/answerdev/answer/internal/service/auth"
collectioncommon "github.com/answerdev/answer/internal/service/collection_common"
"github.com/answerdev/answer/internal/service/comment"
"github.com/answerdev/answer/internal/service/comment_common"
"github.com/answerdev/answer/internal/service/export"
"github.com/answerdev/answer/internal/service/follow"
"github.com/answerdev/answer/internal/service/meta"
"github.com/answerdev/answer/internal/service/notification"
notficationcommon "github.com/answerdev/answer/internal/service/notification_common"
"github.com/answerdev/answer/internal/service/object_info"
questioncommon "github.com/answerdev/answer/internal/service/question_common"
"github.com/answerdev/answer/internal/service/rank"
"github.com/answerdev/answer/internal/service/reason"
"github.com/answerdev/answer/internal/service/report"
"github.com/answerdev/answer/internal/service/report_backyard"
"github.com/answerdev/answer/internal/service/report_handle_backyard"
"github.com/answerdev/answer/internal/service/revision_common"
"github.com/answerdev/answer/internal/service/tag"
tagcommon "github.com/answerdev/answer/internal/service/tag_common"
"github.com/answerdev/answer/internal/service/uploader"
"github.com/answerdev/answer/internal/service/user_backyard"
usercommon "github.com/answerdev/answer/internal/service/user_common"
"github.com/google/wire"
"github.com/segmentfault/answer/internal/service/action"
"github.com/segmentfault/answer/internal/service/activity"
answercommon "github.com/segmentfault/answer/internal/service/answer_common"
"github.com/segmentfault/answer/internal/service/auth"
collectioncommon "github.com/segmentfault/answer/internal/service/collection_common"
"github.com/segmentfault/answer/internal/service/comment"
"github.com/segmentfault/answer/internal/service/comment_common"
"github.com/segmentfault/answer/internal/service/export"
"github.com/segmentfault/answer/internal/service/follow"
"github.com/segmentfault/answer/internal/service/meta"
"github.com/segmentfault/answer/internal/service/notification"
notficationcommon "github.com/segmentfault/answer/internal/service/notification_common"
"github.com/segmentfault/answer/internal/service/object_info"
questioncommon "github.com/segmentfault/answer/internal/service/question_common"
"github.com/segmentfault/answer/internal/service/rank"
"github.com/segmentfault/answer/internal/service/reason"
"github.com/segmentfault/answer/internal/service/report"
"github.com/segmentfault/answer/internal/service/report_backyard"
"github.com/segmentfault/answer/internal/service/report_handle_backyard"
"github.com/segmentfault/answer/internal/service/revision_common"
"github.com/segmentfault/answer/internal/service/tag"
tagcommon "github.com/segmentfault/answer/internal/service/tag_common"
"github.com/segmentfault/answer/internal/service/uploader"
"github.com/segmentfault/answer/internal/service/user_backyard"
usercommon "github.com/segmentfault/answer/internal/service/user_common"
)
// ProviderSetService is providers.

View File

@ -5,18 +5,18 @@ import (
"encoding/json"
"time"
"github.com/segmentfault/answer/internal/base/reason"
"github.com/segmentfault/answer/internal/service/activity_common"
"github.com/segmentfault/answer/internal/service/config"
"github.com/segmentfault/answer/internal/service/meta"
"github.com/answerdev/answer/internal/base/reason"
"github.com/answerdev/answer/internal/service/activity_common"
"github.com/answerdev/answer/internal/service/config"
"github.com/answerdev/answer/internal/service/meta"
"github.com/segmentfault/pacman/errors"
"github.com/segmentfault/answer/internal/entity"
"github.com/segmentfault/answer/internal/schema"
answercommon "github.com/segmentfault/answer/internal/service/answer_common"
collectioncommon "github.com/segmentfault/answer/internal/service/collection_common"
tagcommon "github.com/segmentfault/answer/internal/service/tag_common"
usercommon "github.com/segmentfault/answer/internal/service/user_common"
"github.com/answerdev/answer/internal/entity"
"github.com/answerdev/answer/internal/schema"
answercommon "github.com/answerdev/answer/internal/service/answer_common"
collectioncommon "github.com/answerdev/answer/internal/service/collection_common"
tagcommon "github.com/answerdev/answer/internal/service/tag_common"
usercommon "github.com/answerdev/answer/internal/service/user_common"
"github.com/segmentfault/pacman/log"
)

View File

@ -5,21 +5,21 @@ import (
"fmt"
"time"
"github.com/answerdev/answer/internal/base/constant"
"github.com/answerdev/answer/internal/base/reason"
"github.com/answerdev/answer/internal/base/translator"
"github.com/answerdev/answer/internal/entity"
"github.com/answerdev/answer/internal/schema"
"github.com/answerdev/answer/internal/service/activity"
collectioncommon "github.com/answerdev/answer/internal/service/collection_common"
"github.com/answerdev/answer/internal/service/meta"
"github.com/answerdev/answer/internal/service/notice_queue"
"github.com/answerdev/answer/internal/service/permission"
questioncommon "github.com/answerdev/answer/internal/service/question_common"
"github.com/answerdev/answer/internal/service/revision_common"
tagcommon "github.com/answerdev/answer/internal/service/tag_common"
usercommon "github.com/answerdev/answer/internal/service/user_common"
"github.com/jinzhu/copier"
"github.com/segmentfault/answer/internal/base/constant"
"github.com/segmentfault/answer/internal/base/reason"
"github.com/segmentfault/answer/internal/base/translator"
"github.com/segmentfault/answer/internal/entity"
"github.com/segmentfault/answer/internal/schema"
"github.com/segmentfault/answer/internal/service/activity"
collectioncommon "github.com/segmentfault/answer/internal/service/collection_common"
"github.com/segmentfault/answer/internal/service/meta"
"github.com/segmentfault/answer/internal/service/notice_queue"
"github.com/segmentfault/answer/internal/service/permission"
questioncommon "github.com/segmentfault/answer/internal/service/question_common"
"github.com/segmentfault/answer/internal/service/revision_common"
tagcommon "github.com/segmentfault/answer/internal/service/tag_common"
usercommon "github.com/segmentfault/answer/internal/service/user_common"
"github.com/segmentfault/pacman/errors"
"github.com/segmentfault/pacman/i18n"
"github.com/segmentfault/pacman/log"

Some files were not shown because too many files have changed in this diff Show More