chore: update package name

This commit is contained in:
Steven
2023-11-25 10:40:16 +08:00
parent b7999a4db2
commit 263812f98f
56 changed files with 146 additions and 139 deletions

View File

@ -8,7 +8,7 @@ import (
"github.com/labstack/echo/v4"
"github.com/labstack/echo/v4/middleware"
"github.com/boojack/slash/internal/util"
"github.com/yourselfhosted/slash/internal/util"
)
//go:embed dist

View File

@ -3,7 +3,7 @@ package metric
import (
"github.com/posthog/posthog-go"
"github.com/boojack/slash/server/profile"
"github.com/yourselfhosted/slash/server/profile"
)
const (

View File

@ -10,7 +10,7 @@ import (
"github.com/pkg/errors"
"github.com/spf13/viper"
"github.com/boojack/slash/server/version"
"github.com/yourselfhosted/slash/server/version"
)
// Profile is the configuration to start main server.

View File

@ -15,15 +15,15 @@ import (
"github.com/pkg/errors"
"go.uber.org/zap"
apiv1 "github.com/boojack/slash/api/v1"
apiv2 "github.com/boojack/slash/api/v2"
"github.com/boojack/slash/internal/log"
storepb "github.com/boojack/slash/proto/gen/store"
"github.com/boojack/slash/server/metric"
"github.com/boojack/slash/server/profile"
"github.com/boojack/slash/server/service/license"
"github.com/boojack/slash/server/service/resource"
"github.com/boojack/slash/store"
apiv1 "github.com/yourselfhosted/slash/api/v1"
apiv2 "github.com/yourselfhosted/slash/api/v2"
"github.com/yourselfhosted/slash/internal/log"
storepb "github.com/yourselfhosted/slash/proto/gen/store"
"github.com/yourselfhosted/slash/server/metric"
"github.com/yourselfhosted/slash/server/profile"
"github.com/yourselfhosted/slash/server/service/license"
"github.com/yourselfhosted/slash/server/service/resource"
"github.com/yourselfhosted/slash/store"
)
type Server struct {

View File

@ -7,10 +7,10 @@ import (
"github.com/pkg/errors"
"google.golang.org/protobuf/types/known/timestamppb"
apiv2pb "github.com/boojack/slash/proto/gen/api/v2"
storepb "github.com/boojack/slash/proto/gen/store"
"github.com/boojack/slash/server/profile"
"github.com/boojack/slash/store"
apiv2pb "github.com/yourselfhosted/slash/proto/gen/api/v2"
storepb "github.com/yourselfhosted/slash/proto/gen/store"
"github.com/yourselfhosted/slash/server/profile"
"github.com/yourselfhosted/slash/store"
)
type LicenseService struct {

View File

@ -9,8 +9,8 @@ import (
"github.com/h2non/filetype"
"github.com/labstack/echo/v4"
"github.com/boojack/slash/server/profile"
"github.com/boojack/slash/store"
"github.com/yourselfhosted/slash/server/profile"
"github.com/yourselfhosted/slash/store"
)
const (