mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 04:14:39 +03:00
Moved everything out of internal
This commit is contained in:
@@ -2,8 +2,8 @@ package api
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"github.com/stashapp/stash/internal/models"
|
"github.com/stashapp/stash/models"
|
||||||
"github.com/stashapp/stash/internal/scraper"
|
"github.com/stashapp/stash/scraper"
|
||||||
"sort"
|
"sort"
|
||||||
"strconv"
|
"strconv"
|
||||||
)
|
)
|
||||||
@@ -2,7 +2,7 @@ package api
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"github.com/stashapp/stash/internal/models"
|
"github.com/stashapp/stash/models"
|
||||||
"strconv"
|
"strconv"
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -2,8 +2,8 @@ package api
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"github.com/stashapp/stash/internal/api/urlbuilders"
|
"github.com/stashapp/stash/api/urlbuilders"
|
||||||
"github.com/stashapp/stash/internal/models"
|
"github.com/stashapp/stash/models"
|
||||||
"strconv"
|
"strconv"
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -2,10 +2,10 @@ package api
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"github.com/stashapp/stash/internal/api/urlbuilders"
|
"github.com/stashapp/stash/api/urlbuilders"
|
||||||
"github.com/stashapp/stash/internal/manager"
|
"github.com/stashapp/stash/manager"
|
||||||
"github.com/stashapp/stash/internal/models"
|
"github.com/stashapp/stash/models"
|
||||||
"github.com/stashapp/stash/internal/utils"
|
"github.com/stashapp/stash/utils"
|
||||||
"strconv"
|
"strconv"
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -2,8 +2,8 @@ package api
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"github.com/stashapp/stash/internal/api/urlbuilders"
|
"github.com/stashapp/stash/api/urlbuilders"
|
||||||
"github.com/stashapp/stash/internal/models"
|
"github.com/stashapp/stash/models"
|
||||||
"strconv"
|
"strconv"
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -2,8 +2,8 @@ package api
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"github.com/stashapp/stash/internal/api/urlbuilders"
|
"github.com/stashapp/stash/api/urlbuilders"
|
||||||
"github.com/stashapp/stash/internal/models"
|
"github.com/stashapp/stash/models"
|
||||||
"strconv"
|
"strconv"
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -2,7 +2,7 @@ package api
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"github.com/stashapp/stash/internal/models"
|
"github.com/stashapp/stash/models"
|
||||||
"strconv"
|
"strconv"
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -3,9 +3,9 @@ package api
|
|||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"database/sql"
|
"database/sql"
|
||||||
"github.com/stashapp/stash/internal/database"
|
"github.com/stashapp/stash/database"
|
||||||
"github.com/stashapp/stash/internal/models"
|
"github.com/stashapp/stash/models"
|
||||||
"github.com/stashapp/stash/internal/utils"
|
"github.com/stashapp/stash/utils"
|
||||||
"strconv"
|
"strconv"
|
||||||
"time"
|
"time"
|
||||||
)
|
)
|
||||||
@@ -3,8 +3,8 @@ package api
|
|||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"database/sql"
|
"database/sql"
|
||||||
"github.com/stashapp/stash/internal/database"
|
"github.com/stashapp/stash/database"
|
||||||
"github.com/stashapp/stash/internal/models"
|
"github.com/stashapp/stash/models"
|
||||||
"strconv"
|
"strconv"
|
||||||
"time"
|
"time"
|
||||||
)
|
)
|
||||||
@@ -3,9 +3,9 @@ package api
|
|||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"database/sql"
|
"database/sql"
|
||||||
"github.com/stashapp/stash/internal/database"
|
"github.com/stashapp/stash/database"
|
||||||
"github.com/stashapp/stash/internal/models"
|
"github.com/stashapp/stash/models"
|
||||||
"github.com/stashapp/stash/internal/utils"
|
"github.com/stashapp/stash/utils"
|
||||||
"strconv"
|
"strconv"
|
||||||
"time"
|
"time"
|
||||||
)
|
)
|
||||||
@@ -2,8 +2,8 @@ package api
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"github.com/stashapp/stash/internal/database"
|
"github.com/stashapp/stash/database"
|
||||||
"github.com/stashapp/stash/internal/models"
|
"github.com/stashapp/stash/models"
|
||||||
"strconv"
|
"strconv"
|
||||||
"time"
|
"time"
|
||||||
)
|
)
|
||||||
@@ -2,7 +2,7 @@ package api
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"github.com/stashapp/stash/internal/models"
|
"github.com/stashapp/stash/models"
|
||||||
"strconv"
|
"strconv"
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -2,7 +2,7 @@ package api
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"github.com/stashapp/stash/internal/models"
|
"github.com/stashapp/stash/models"
|
||||||
"strconv"
|
"strconv"
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -2,7 +2,7 @@ package api
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"github.com/stashapp/stash/internal/models"
|
"github.com/stashapp/stash/models"
|
||||||
"strconv"
|
"strconv"
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -2,7 +2,7 @@ package api
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"github.com/stashapp/stash/internal/models"
|
"github.com/stashapp/stash/models"
|
||||||
)
|
)
|
||||||
|
|
||||||
func (r *queryResolver) FindSceneMarkers(ctx context.Context, scene_marker_filter *models.SceneMarkerFilterType, filter *models.FindFilterType) (models.FindSceneMarkersResultType, error) {
|
func (r *queryResolver) FindSceneMarkers(ctx context.Context, scene_marker_filter *models.SceneMarkerFilterType, filter *models.FindFilterType) (models.FindSceneMarkersResultType, error) {
|
||||||
@@ -2,7 +2,7 @@ package api
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"github.com/stashapp/stash/internal/models"
|
"github.com/stashapp/stash/models"
|
||||||
"strconv"
|
"strconv"
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -2,7 +2,7 @@ package api
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"github.com/stashapp/stash/internal/models"
|
"github.com/stashapp/stash/models"
|
||||||
"strconv"
|
"strconv"
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -2,7 +2,7 @@ package api
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"github.com/stashapp/stash/internal/manager"
|
"github.com/stashapp/stash/manager"
|
||||||
)
|
)
|
||||||
|
|
||||||
func (r *queryResolver) MetadataScan(ctx context.Context) (string, error) {
|
func (r *queryResolver) MetadataScan(ctx context.Context) (string, error) {
|
||||||
@@ -3,7 +3,7 @@ package api
|
|||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"github.com/go-chi/chi"
|
"github.com/go-chi/chi"
|
||||||
"github.com/stashapp/stash/internal/models"
|
"github.com/stashapp/stash/models"
|
||||||
"net/http"
|
"net/http"
|
||||||
"strconv"
|
"strconv"
|
||||||
)
|
)
|
||||||
@@ -3,7 +3,7 @@ package api
|
|||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"github.com/go-chi/chi"
|
"github.com/go-chi/chi"
|
||||||
"github.com/stashapp/stash/internal/models"
|
"github.com/stashapp/stash/models"
|
||||||
"net/http"
|
"net/http"
|
||||||
"strconv"
|
"strconv"
|
||||||
)
|
)
|
||||||
@@ -3,10 +3,10 @@ package api
|
|||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"github.com/go-chi/chi"
|
"github.com/go-chi/chi"
|
||||||
"github.com/stashapp/stash/internal/logger"
|
"github.com/stashapp/stash/logger"
|
||||||
"github.com/stashapp/stash/internal/manager"
|
"github.com/stashapp/stash/manager"
|
||||||
"github.com/stashapp/stash/internal/models"
|
"github.com/stashapp/stash/models"
|
||||||
"github.com/stashapp/stash/internal/utils"
|
"github.com/stashapp/stash/utils"
|
||||||
"net/http"
|
"net/http"
|
||||||
"strconv"
|
"strconv"
|
||||||
"strings"
|
"strings"
|
||||||
@@ -3,7 +3,7 @@ package api
|
|||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"github.com/go-chi/chi"
|
"github.com/go-chi/chi"
|
||||||
"github.com/stashapp/stash/internal/models"
|
"github.com/stashapp/stash/models"
|
||||||
"net/http"
|
"net/http"
|
||||||
"strconv"
|
"strconv"
|
||||||
)
|
)
|
||||||
@@ -10,8 +10,8 @@ import (
|
|||||||
"github.com/go-chi/chi/middleware"
|
"github.com/go-chi/chi/middleware"
|
||||||
"github.com/gobuffalo/packr/v2"
|
"github.com/gobuffalo/packr/v2"
|
||||||
"github.com/rs/cors"
|
"github.com/rs/cors"
|
||||||
"github.com/stashapp/stash/internal/logger"
|
"github.com/stashapp/stash/logger"
|
||||||
"github.com/stashapp/stash/internal/models"
|
"github.com/stashapp/stash/models"
|
||||||
"net/http"
|
"net/http"
|
||||||
"path"
|
"path"
|
||||||
"runtime/debug"
|
"runtime/debug"
|
||||||
@@ -7,7 +7,7 @@ import (
|
|||||||
"github.com/golang-migrate/migrate/v4/source"
|
"github.com/golang-migrate/migrate/v4/source"
|
||||||
"github.com/jmoiron/sqlx"
|
"github.com/jmoiron/sqlx"
|
||||||
_ "github.com/mattn/go-sqlite3"
|
_ "github.com/mattn/go-sqlite3"
|
||||||
"github.com/stashapp/stash/internal/logger"
|
"github.com/stashapp/stash/logger"
|
||||||
"runtime"
|
"runtime"
|
||||||
"strings"
|
"strings"
|
||||||
)
|
)
|
||||||
@@ -2,7 +2,7 @@ package ffmpeg
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"github.com/stashapp/stash/internal/logger"
|
"github.com/stashapp/stash/logger"
|
||||||
"io/ioutil"
|
"io/ioutil"
|
||||||
"os/exec"
|
"os/exec"
|
||||||
"regexp"
|
"regexp"
|
||||||
6
main.go
6
main.go
@@ -1,9 +1,9 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/stashapp/stash/internal/api"
|
"github.com/stashapp/stash/api"
|
||||||
"github.com/stashapp/stash/internal/database"
|
"github.com/stashapp/stash/database"
|
||||||
"github.com/stashapp/stash/internal/manager"
|
"github.com/stashapp/stash/manager"
|
||||||
|
|
||||||
_ "github.com/golang-migrate/migrate/v4/database/sqlite3"
|
_ "github.com/golang-migrate/migrate/v4/database/sqlite3"
|
||||||
_ "github.com/golang-migrate/migrate/v4/source/file"
|
_ "github.com/golang-migrate/migrate/v4/source/file"
|
||||||
|
|||||||
@@ -1,6 +1,8 @@
|
|||||||
package manager
|
package manager
|
||||||
|
|
||||||
import "github.com/stashapp/stash/internal/manager/jsonschema"
|
import (
|
||||||
|
"github.com/stashapp/stash/manager/jsonschema"
|
||||||
|
)
|
||||||
|
|
||||||
type jsonUtils struct {}
|
type jsonUtils struct {}
|
||||||
|
|
||||||
@@ -2,7 +2,7 @@ package jsonschema
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"github.com/stashapp/stash/internal/logger"
|
"github.com/stashapp/stash/logger"
|
||||||
"os"
|
"os"
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -2,8 +2,8 @@ package manager
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/bmatcuk/doublestar"
|
"github.com/bmatcuk/doublestar"
|
||||||
"github.com/stashapp/stash/internal/logger"
|
"github.com/stashapp/stash/logger"
|
||||||
"github.com/stashapp/stash/internal/manager/paths"
|
"github.com/stashapp/stash/manager/paths"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
"sync"
|
"sync"
|
||||||
)
|
)
|
||||||
@@ -1,8 +1,8 @@
|
|||||||
package paths
|
package paths
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/stashapp/stash/internal/manager/jsonschema"
|
"github.com/stashapp/stash/manager/jsonschema"
|
||||||
"github.com/stashapp/stash/internal/utils"
|
"github.com/stashapp/stash/utils"
|
||||||
"os"
|
"os"
|
||||||
"os/user"
|
"os/user"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
@@ -2,7 +2,7 @@ package paths
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"github.com/stashapp/stash/internal/utils"
|
"github.com/stashapp/stash/utils"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
"runtime"
|
"runtime"
|
||||||
"strings"
|
"strings"
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
package paths
|
package paths
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/stashapp/stash/internal/manager/jsonschema"
|
"github.com/stashapp/stash/manager/jsonschema"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
package paths
|
package paths
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/stashapp/stash/internal/utils"
|
"github.com/stashapp/stash/utils"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
package paths
|
package paths
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/stashapp/stash/internal/utils"
|
"github.com/stashapp/stash/utils"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
package paths
|
package paths
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/stashapp/stash/internal/utils"
|
"github.com/stashapp/stash/utils"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -3,11 +3,11 @@ package manager
|
|||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"fmt"
|
"fmt"
|
||||||
"github.com/stashapp/stash/internal/database"
|
"github.com/stashapp/stash/database"
|
||||||
"github.com/stashapp/stash/internal/logger"
|
"github.com/stashapp/stash/logger"
|
||||||
"github.com/stashapp/stash/internal/manager/jsonschema"
|
"github.com/stashapp/stash/manager/jsonschema"
|
||||||
"github.com/stashapp/stash/internal/models"
|
"github.com/stashapp/stash/models"
|
||||||
"github.com/stashapp/stash/internal/utils"
|
"github.com/stashapp/stash/utils"
|
||||||
"math"
|
"math"
|
||||||
"strconv"
|
"strconv"
|
||||||
"sync"
|
"sync"
|
||||||
@@ -4,11 +4,11 @@ import (
|
|||||||
"context"
|
"context"
|
||||||
"database/sql"
|
"database/sql"
|
||||||
"github.com/jmoiron/sqlx"
|
"github.com/jmoiron/sqlx"
|
||||||
"github.com/stashapp/stash/internal/database"
|
"github.com/stashapp/stash/database"
|
||||||
"github.com/stashapp/stash/internal/logger"
|
"github.com/stashapp/stash/logger"
|
||||||
"github.com/stashapp/stash/internal/manager/jsonschema"
|
"github.com/stashapp/stash/manager/jsonschema"
|
||||||
"github.com/stashapp/stash/internal/models"
|
"github.com/stashapp/stash/models"
|
||||||
"github.com/stashapp/stash/internal/utils"
|
"github.com/stashapp/stash/utils"
|
||||||
"strconv"
|
"strconv"
|
||||||
"sync"
|
"sync"
|
||||||
"time"
|
"time"
|
||||||
@@ -3,11 +3,11 @@ package manager
|
|||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"database/sql"
|
"database/sql"
|
||||||
"github.com/stashapp/stash/internal/database"
|
"github.com/stashapp/stash/database"
|
||||||
"github.com/stashapp/stash/internal/ffmpeg"
|
"github.com/stashapp/stash/ffmpeg"
|
||||||
"github.com/stashapp/stash/internal/logger"
|
"github.com/stashapp/stash/logger"
|
||||||
"github.com/stashapp/stash/internal/models"
|
"github.com/stashapp/stash/models"
|
||||||
"github.com/stashapp/stash/internal/utils"
|
"github.com/stashapp/stash/utils"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
"strconv"
|
"strconv"
|
||||||
"sync"
|
"sync"
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
package manager
|
package manager
|
||||||
|
|
||||||
import "github.com/stashapp/stash/internal/utils"
|
import "github.com/stashapp/stash/utils"
|
||||||
|
|
||||||
func IsStreamable(videoPath string, checksum string) (bool, error) {
|
func IsStreamable(videoPath string, checksum string) (bool, error) {
|
||||||
fileType, err := utils.FileType(videoPath)
|
fileType, err := utils.FileType(videoPath)
|
||||||
@@ -5,9 +5,9 @@ import (
|
|||||||
"bytes"
|
"bytes"
|
||||||
"database/sql"
|
"database/sql"
|
||||||
"github.com/disintegration/imaging"
|
"github.com/disintegration/imaging"
|
||||||
"github.com/stashapp/stash/internal/api/urlbuilders"
|
"github.com/stashapp/stash/api/urlbuilders"
|
||||||
"github.com/stashapp/stash/internal/logger"
|
"github.com/stashapp/stash/logger"
|
||||||
"github.com/stashapp/stash/internal/utils"
|
"github.com/stashapp/stash/utils"
|
||||||
"image"
|
"image"
|
||||||
"image/jpeg"
|
"image/jpeg"
|
||||||
"io/ioutil"
|
"io/ioutil"
|
||||||
@@ -3,7 +3,7 @@ package models
|
|||||||
import (
|
import (
|
||||||
"database/sql"
|
"database/sql"
|
||||||
"github.com/jmoiron/sqlx"
|
"github.com/jmoiron/sqlx"
|
||||||
"github.com/stashapp/stash/internal/database"
|
"github.com/stashapp/stash/database"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -3,7 +3,7 @@ package models
|
|||||||
import (
|
import (
|
||||||
"database/sql"
|
"database/sql"
|
||||||
"github.com/jmoiron/sqlx"
|
"github.com/jmoiron/sqlx"
|
||||||
"github.com/stashapp/stash/internal/database"
|
"github.com/stashapp/stash/database"
|
||||||
)
|
)
|
||||||
|
|
||||||
type performerQueryBuilder struct {}
|
type performerQueryBuilder struct {}
|
||||||
@@ -3,7 +3,7 @@ package models
|
|||||||
import (
|
import (
|
||||||
"database/sql"
|
"database/sql"
|
||||||
"github.com/jmoiron/sqlx"
|
"github.com/jmoiron/sqlx"
|
||||||
"github.com/stashapp/stash/internal/database"
|
"github.com/stashapp/stash/database"
|
||||||
"strconv"
|
"strconv"
|
||||||
"strings"
|
"strings"
|
||||||
)
|
)
|
||||||
@@ -3,7 +3,7 @@ package models
|
|||||||
import (
|
import (
|
||||||
"database/sql"
|
"database/sql"
|
||||||
"github.com/jmoiron/sqlx"
|
"github.com/jmoiron/sqlx"
|
||||||
"github.com/stashapp/stash/internal/database"
|
"github.com/stashapp/stash/database"
|
||||||
"strconv"
|
"strconv"
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -3,7 +3,7 @@ package models
|
|||||||
import (
|
import (
|
||||||
"database/sql"
|
"database/sql"
|
||||||
"github.com/jmoiron/sqlx"
|
"github.com/jmoiron/sqlx"
|
||||||
"github.com/stashapp/stash/internal/database"
|
"github.com/stashapp/stash/database"
|
||||||
)
|
)
|
||||||
|
|
||||||
type scrapedItemQueryBuilder struct{}
|
type scrapedItemQueryBuilder struct{}
|
||||||
@@ -4,7 +4,7 @@ import (
|
|||||||
"database/sql"
|
"database/sql"
|
||||||
"fmt"
|
"fmt"
|
||||||
"github.com/jmoiron/sqlx"
|
"github.com/jmoiron/sqlx"
|
||||||
"github.com/stashapp/stash/internal/database"
|
"github.com/stashapp/stash/database"
|
||||||
"reflect"
|
"reflect"
|
||||||
"strconv"
|
"strconv"
|
||||||
"strings"
|
"strings"
|
||||||
@@ -3,7 +3,7 @@ package models
|
|||||||
import (
|
import (
|
||||||
"database/sql"
|
"database/sql"
|
||||||
"github.com/jmoiron/sqlx"
|
"github.com/jmoiron/sqlx"
|
||||||
"github.com/stashapp/stash/internal/database"
|
"github.com/stashapp/stash/database"
|
||||||
)
|
)
|
||||||
|
|
||||||
type studioQueryBuilder struct {}
|
type studioQueryBuilder struct {}
|
||||||
@@ -3,7 +3,7 @@ package models
|
|||||||
import (
|
import (
|
||||||
"database/sql"
|
"database/sql"
|
||||||
"github.com/jmoiron/sqlx"
|
"github.com/jmoiron/sqlx"
|
||||||
"github.com/stashapp/stash/internal/database"
|
"github.com/stashapp/stash/database"
|
||||||
)
|
)
|
||||||
|
|
||||||
type tagQueryBuilder struct {}
|
type tagQueryBuilder struct {}
|
||||||
@@ -3,8 +3,8 @@ package scraper
|
|||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"github.com/PuerkitoBio/goquery"
|
"github.com/PuerkitoBio/goquery"
|
||||||
"github.com/stashapp/stash/internal/logger"
|
"github.com/stashapp/stash/logger"
|
||||||
"github.com/stashapp/stash/internal/models"
|
"github.com/stashapp/stash/models"
|
||||||
"net/http"
|
"net/http"
|
||||||
"net/url"
|
"net/url"
|
||||||
"regexp"
|
"regexp"
|
||||||
Reference in New Issue
Block a user