change git imports
This commit is contained in:
@@ -6,9 +6,9 @@ import (
|
||||
|
||||
_ "github.com/go-sql-driver/mysql"
|
||||
|
||||
scraper "git.amok.space/yevhen/resource-scraper/internal"
|
||||
"git.amok.space/yevhen/resource-scraper/internal/config"
|
||||
"git.amok.space/yevhen/resource-scraper/internal/logging"
|
||||
scraper "git.kplus.net.ua/yevhen/resource-scraper/internal"
|
||||
"git.kplus.net.ua/yevhen/resource-scraper/internal/config"
|
||||
"git.kplus.net.ua/yevhen/resource-scraper/internal/logging"
|
||||
)
|
||||
|
||||
var (
|
||||
|
||||
@@ -3,7 +3,7 @@ package sugar
|
||||
import (
|
||||
"github.com/spf13/viper"
|
||||
|
||||
"git.amok.space/yevhen/resource-scraper/types/constant"
|
||||
"git.kplus.net.ua/yevhen/resource-scraper/types/constant"
|
||||
)
|
||||
|
||||
func IsDev() bool {
|
||||
|
||||
@@ -8,11 +8,11 @@ import (
|
||||
"github.com/spf13/viper"
|
||||
"golang.org/x/exp/slices"
|
||||
|
||||
"git.amok.space/yevhen/resource-scraper/internal/db"
|
||||
"git.amok.space/yevhen/resource-scraper/pkg/handler"
|
||||
"git.amok.space/yevhen/resource-scraper/pkg/repository"
|
||||
"git.amok.space/yevhen/resource-scraper/pkg/service"
|
||||
"git.amok.space/yevhen/resource-scraper/types/constant"
|
||||
"git.kplus.net.ua/yevhen/resource-scraper/internal/db"
|
||||
"git.kplus.net.ua/yevhen/resource-scraper/pkg/handler"
|
||||
"git.kplus.net.ua/yevhen/resource-scraper/pkg/repository"
|
||||
"git.kplus.net.ua/yevhen/resource-scraper/pkg/service"
|
||||
"git.kplus.net.ua/yevhen/resource-scraper/types/constant"
|
||||
)
|
||||
|
||||
func isAllowScope() bool {
|
||||
|
||||
@@ -9,7 +9,7 @@ import (
|
||||
|
||||
"github.com/spf13/viper"
|
||||
|
||||
"git.amok.space/yevhen/resource-scraper/types/constant"
|
||||
"git.kplus.net.ua/yevhen/resource-scraper/types/constant"
|
||||
)
|
||||
|
||||
func New() {
|
||||
|
||||
@@ -9,7 +9,7 @@ import (
|
||||
"github.com/spf13/pflag"
|
||||
"github.com/spf13/viper"
|
||||
|
||||
"git.amok.space/yevhen/resource-scraper/types/constant"
|
||||
"git.kplus.net.ua/yevhen/resource-scraper/types/constant"
|
||||
)
|
||||
|
||||
const usage = `Music Database (MDB) server/cli craftware'
|
||||
|
||||
@@ -7,7 +7,7 @@ import (
|
||||
"github.com/go-chi/chi/v5"
|
||||
"github.com/go-chi/cors"
|
||||
|
||||
"git.amok.space/yevhen/resource-scraper/helper/web"
|
||||
"git.kplus.net.ua/yevhen/resource-scraper/helper/web"
|
||||
)
|
||||
|
||||
/*type Server struct {
|
||||
|
||||
@@ -10,7 +10,7 @@ import (
|
||||
"github.com/logrusorgru/aurora/v4"
|
||||
"github.com/spf13/viper"
|
||||
|
||||
"git.amok.space/yevhen/resource-scraper/helper/sugar"
|
||||
"git.kplus.net.ua/yevhen/resource-scraper/helper/sugar"
|
||||
)
|
||||
|
||||
type EmailService struct {
|
||||
|
||||
@@ -6,8 +6,8 @@ import (
|
||||
"github.com/iancoleman/strcase"
|
||||
"github.com/spf13/viper"
|
||||
|
||||
"git.amok.space/yevhen/resource-scraper/pkg/service"
|
||||
"git.amok.space/yevhen/resource-scraper/types/constant"
|
||||
"git.kplus.net.ua/yevhen/resource-scraper/pkg/service"
|
||||
"git.kplus.net.ua/yevhen/resource-scraper/types/constant"
|
||||
)
|
||||
|
||||
type Handler struct {
|
||||
|
||||
@@ -9,7 +9,7 @@ import (
|
||||
|
||||
"github.com/mewkiz/flac"
|
||||
|
||||
"git.amok.space/yevhen/resource-scraper/types/constant"
|
||||
"git.kplus.net.ua/yevhen/resource-scraper/types/constant"
|
||||
)
|
||||
|
||||
func (h *Handler) Info() string {
|
||||
|
||||
@@ -9,7 +9,7 @@ import (
|
||||
|
||||
"github.com/spf13/viper"
|
||||
|
||||
"git.amok.space/yevhen/resource-scraper/types/constant"
|
||||
"git.kplus.net.ua/yevhen/resource-scraper/types/constant"
|
||||
)
|
||||
|
||||
func (h *Handler) Prescene() string {
|
||||
|
||||
@@ -7,7 +7,7 @@ import (
|
||||
|
||||
"github.com/spf13/viper"
|
||||
|
||||
"git.amok.space/yevhen/resource-scraper/types/constant"
|
||||
"git.kplus.net.ua/yevhen/resource-scraper/types/constant"
|
||||
)
|
||||
|
||||
func (h *Handler) STB() string {
|
||||
|
||||
@@ -15,10 +15,10 @@ import (
|
||||
"github.com/jmoiron/sqlx"
|
||||
"github.com/spf13/viper"
|
||||
|
||||
"git.amok.space/yevhen/resource-scraper/helper/parser"
|
||||
"git.amok.space/yevhen/resource-scraper/pkg/repository/table"
|
||||
"git.amok.space/yevhen/resource-scraper/types/constant"
|
||||
"git.amok.space/yevhen/resource-scraper/types/model"
|
||||
"git.kplus.net.ua/yevhen/resource-scraper/helper/parser"
|
||||
"git.kplus.net.ua/yevhen/resource-scraper/pkg/repository/table"
|
||||
"git.kplus.net.ua/yevhen/resource-scraper/types/constant"
|
||||
"git.kplus.net.ua/yevhen/resource-scraper/types/model"
|
||||
)
|
||||
|
||||
type Prescene struct {
|
||||
|
||||
@@ -3,7 +3,7 @@ package repository
|
||||
import (
|
||||
"github.com/jmoiron/sqlx"
|
||||
|
||||
"git.amok.space/yevhen/resource-scraper/types/interface"
|
||||
"git.kplus.net.ua/yevhen/resource-scraper/types/interface"
|
||||
)
|
||||
|
||||
type Repository struct {
|
||||
|
||||
@@ -13,10 +13,10 @@ import (
|
||||
"github.com/jmoiron/sqlx"
|
||||
"github.com/spf13/viper"
|
||||
|
||||
"git.amok.space/yevhen/resource-scraper/pkg/repository/table"
|
||||
"git.amok.space/yevhen/resource-scraper/types/constant"
|
||||
"git.amok.space/yevhen/resource-scraper/types/model"
|
||||
"git.amok.space/yevhen/resource-scraper/types/resource"
|
||||
"git.kplus.net.ua/yevhen/resource-scraper/pkg/repository/table"
|
||||
"git.kplus.net.ua/yevhen/resource-scraper/types/constant"
|
||||
"git.kplus.net.ua/yevhen/resource-scraper/types/model"
|
||||
"git.kplus.net.ua/yevhen/resource-scraper/types/resource"
|
||||
)
|
||||
|
||||
type Rutracker struct {
|
||||
|
||||
@@ -9,9 +9,9 @@ import (
|
||||
"github.com/jmoiron/sqlx"
|
||||
"github.com/logrusorgru/aurora/v4"
|
||||
|
||||
"git.amok.space/yevhen/resource-scraper/helper/thither"
|
||||
"git.amok.space/yevhen/resource-scraper/types/constant"
|
||||
"git.amok.space/yevhen/resource-scraper/types/model"
|
||||
"git.kplus.net.ua/yevhen/resource-scraper/helper/thither"
|
||||
"git.kplus.net.ua/yevhen/resource-scraper/types/constant"
|
||||
"git.kplus.net.ua/yevhen/resource-scraper/types/model"
|
||||
)
|
||||
|
||||
type ExternalSources struct {
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
package service
|
||||
|
||||
import (
|
||||
"git.amok.space/yevhen/resource-scraper/types/interface"
|
||||
"git.amok.space/yevhen/resource-scraper/types/model"
|
||||
"git.kplus.net.ua/yevhen/resource-scraper/types/interface"
|
||||
"git.kplus.net.ua/yevhen/resource-scraper/types/model"
|
||||
)
|
||||
|
||||
type PresceneService struct {
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
package service
|
||||
|
||||
import (
|
||||
"git.amok.space/yevhen/resource-scraper/types/interface"
|
||||
"git.amok.space/yevhen/resource-scraper/types/model"
|
||||
"git.kplus.net.ua/yevhen/resource-scraper/types/interface"
|
||||
"git.kplus.net.ua/yevhen/resource-scraper/types/model"
|
||||
)
|
||||
|
||||
type RutrackerService struct {
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
package service
|
||||
|
||||
import (
|
||||
"git.amok.space/yevhen/resource-scraper/pkg/repository"
|
||||
"git.amok.space/yevhen/resource-scraper/types/interface"
|
||||
"git.kplus.net.ua/yevhen/resource-scraper/pkg/repository"
|
||||
"git.kplus.net.ua/yevhen/resource-scraper/types/interface"
|
||||
)
|
||||
|
||||
type Service struct {
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
package service
|
||||
|
||||
import (
|
||||
"git.amok.space/yevhen/resource-scraper/internal/mail"
|
||||
"git.amok.space/yevhen/resource-scraper/types/interface"
|
||||
"git.amok.space/yevhen/resource-scraper/types/model"
|
||||
"git.kplus.net.ua/yevhen/resource-scraper/internal/mail"
|
||||
"git.kplus.net.ua/yevhen/resource-scraper/types/interface"
|
||||
"git.kplus.net.ua/yevhen/resource-scraper/types/model"
|
||||
)
|
||||
|
||||
type ShareTheBrutalityService struct {
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
package _interface
|
||||
|
||||
import (
|
||||
"git.amok.space/yevhen/resource-scraper/internal/mail"
|
||||
"git.amok.space/yevhen/resource-scraper/types/model"
|
||||
"git.kplus.net.ua/yevhen/resource-scraper/internal/mail"
|
||||
"git.kplus.net.ua/yevhen/resource-scraper/types/model"
|
||||
)
|
||||
|
||||
type Rutracker interface {
|
||||
|
||||
Reference in New Issue
Block a user