1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-08-01 17:38:37 +00:00

Rewrite imports

This commit is contained in:
Frédéric Guillot 2017-12-12 21:48:13 -08:00
parent 9b1128d56d
commit 84d912c979
103 changed files with 245 additions and 241 deletions

View file

@ -10,8 +10,8 @@ import (
"fmt"
"time"
"github.com/miniflux/miniflux2/helper"
"github.com/miniflux/miniflux2/model"
"github.com/miniflux/miniflux/helper"
"github.com/miniflux/miniflux/model"
)
// AnotherCategoryExists checks if another category exists with the same title.

View file

@ -7,7 +7,7 @@ package storage
import (
"fmt"
"github.com/miniflux/miniflux2/model"
"github.com/miniflux/miniflux/model"
)
// GetEnclosures returns all attachments for the given entry.

View file

@ -10,8 +10,8 @@ import (
"log"
"time"
"github.com/miniflux/miniflux2/helper"
"github.com/miniflux/miniflux2/model"
"github.com/miniflux/miniflux/helper"
"github.com/miniflux/miniflux/model"
"github.com/lib/pq"
)

View file

@ -11,8 +11,8 @@ import (
"github.com/lib/pq"
"github.com/miniflux/miniflux2/helper"
"github.com/miniflux/miniflux2/model"
"github.com/miniflux/miniflux/helper"
"github.com/miniflux/miniflux/model"
)
// EntryQueryBuilder builds a SQL query to fetch entries.

View file

@ -10,8 +10,8 @@ import (
"fmt"
"time"
"github.com/miniflux/miniflux2/helper"
"github.com/miniflux/miniflux2/model"
"github.com/miniflux/miniflux/helper"
"github.com/miniflux/miniflux/model"
)
// FeedExists checks if the given feed exists.

View file

@ -10,8 +10,8 @@ import (
"strings"
"time"
"github.com/miniflux/miniflux2/helper"
"github.com/miniflux/miniflux2/model"
"github.com/miniflux/miniflux/helper"
"github.com/miniflux/miniflux/model"
)
// HasIcon checks if the given feed has an icon.

View file

@ -8,7 +8,7 @@ import (
"database/sql"
"fmt"
"github.com/miniflux/miniflux2/model"
"github.com/miniflux/miniflux/model"
)
// UserByFeverToken returns a user by using the Fever API token.

View file

@ -8,8 +8,8 @@ import (
"fmt"
"time"
"github.com/miniflux/miniflux2/helper"
"github.com/miniflux/miniflux2/model"
"github.com/miniflux/miniflux/helper"
"github.com/miniflux/miniflux/model"
)
const maxParsingError = 3

View file

@ -9,7 +9,7 @@ import (
"log"
"strconv"
"github.com/miniflux/miniflux2/sql"
"github.com/miniflux/miniflux/sql"
)
const schemaVersion = 8

View file

@ -8,8 +8,8 @@ import (
"database/sql"
"fmt"
"github.com/miniflux/miniflux2/helper"
"github.com/miniflux/miniflux2/model"
"github.com/miniflux/miniflux/helper"
"github.com/miniflux/miniflux/model"
)
// Sessions returns the list of sessions for the given user.

View file

@ -8,7 +8,7 @@ import (
"fmt"
"time"
"github.com/miniflux/miniflux2/helper"
"github.com/miniflux/miniflux/helper"
)
// Timezones returns all timezones supported by the database.

View file

@ -8,8 +8,8 @@ import (
"database/sql"
"fmt"
"github.com/miniflux/miniflux2/helper"
"github.com/miniflux/miniflux2/model"
"github.com/miniflux/miniflux/helper"
"github.com/miniflux/miniflux/model"
)
// CreateToken creates a new token.

View file

@ -14,8 +14,8 @@ import (
"github.com/lib/pq/hstore"
"github.com/miniflux/miniflux2/helper"
"github.com/miniflux/miniflux2/model"
"github.com/miniflux/miniflux/helper"
"github.com/miniflux/miniflux/model"
"golang.org/x/crypto/bcrypt"
)