mirror of
https://github.com/miniflux/v2.git
synced 2025-08-01 17:38:37 +00:00
Use canonical imports
This commit is contained in:
parent
7f2612d9a6
commit
dbcc5d8a97
263 changed files with 962 additions and 956 deletions
|
@ -2,7 +2,7 @@
|
|||
// Use of this source code is governed by the Apache 2.0
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
package storage
|
||||
package storage // import "miniflux.app/storage"
|
||||
|
||||
import (
|
||||
"database/sql"
|
||||
|
@ -10,8 +10,8 @@ import (
|
|||
"fmt"
|
||||
"time"
|
||||
|
||||
"github.com/miniflux/miniflux/model"
|
||||
"github.com/miniflux/miniflux/timer"
|
||||
"miniflux.app/model"
|
||||
"miniflux.app/timer"
|
||||
)
|
||||
|
||||
// AnotherCategoryExists checks if another category exists with the same title.
|
||||
|
|
|
@ -7,4 +7,4 @@
|
|||
Package storage implements a set of functions to interact with the database.
|
||||
|
||||
*/
|
||||
package storage
|
||||
package storage // import "miniflux.app/storage"
|
||||
|
|
|
@ -2,12 +2,12 @@
|
|||
// Use of this source code is governed by the Apache 2.0
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
package storage
|
||||
package storage // import "miniflux.app/storage"
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/miniflux/miniflux/model"
|
||||
"miniflux.app/model"
|
||||
)
|
||||
|
||||
// GetEnclosures returns all attachments for the given entry.
|
||||
|
|
|
@ -2,16 +2,16 @@
|
|||
// Use of this source code is governed by the Apache 2.0
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
package storage
|
||||
package storage // import "miniflux.app/storage"
|
||||
|
||||
import (
|
||||
"errors"
|
||||
"fmt"
|
||||
"time"
|
||||
|
||||
"github.com/miniflux/miniflux/logger"
|
||||
"github.com/miniflux/miniflux/model"
|
||||
"github.com/miniflux/miniflux/timer"
|
||||
"miniflux.app/logger"
|
||||
"miniflux.app/model"
|
||||
"miniflux.app/timer"
|
||||
|
||||
"github.com/lib/pq"
|
||||
)
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// Use of this source code is governed by the Apache 2.0
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
package storage
|
||||
package storage // import "miniflux.app/storage"
|
||||
|
||||
import (
|
||||
"database/sql"
|
||||
|
@ -10,8 +10,8 @@ import (
|
|||
"strings"
|
||||
"time"
|
||||
|
||||
"github.com/miniflux/miniflux/model"
|
||||
"github.com/miniflux/miniflux/timer"
|
||||
"miniflux.app/model"
|
||||
"miniflux.app/timer"
|
||||
)
|
||||
|
||||
// EntryPaginationBuilder is a builder for entry prev/next queries.
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// Use of this source code is governed by the Apache 2.0
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
package storage
|
||||
package storage // import "miniflux.app/storage"
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
|
@ -11,9 +11,9 @@ import (
|
|||
|
||||
"github.com/lib/pq"
|
||||
|
||||
"github.com/miniflux/miniflux/model"
|
||||
"github.com/miniflux/miniflux/timer"
|
||||
"github.com/miniflux/miniflux/timezone"
|
||||
"miniflux.app/model"
|
||||
"miniflux.app/timer"
|
||||
"miniflux.app/timezone"
|
||||
)
|
||||
|
||||
// EntryQueryBuilder builds a SQL query to fetch entries.
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// Use of this source code is governed by the Apache 2.0
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
package storage
|
||||
package storage // import "miniflux.app/storage"
|
||||
|
||||
import (
|
||||
"database/sql"
|
||||
|
@ -10,9 +10,9 @@ import (
|
|||
"fmt"
|
||||
"time"
|
||||
|
||||
"github.com/miniflux/miniflux/model"
|
||||
"github.com/miniflux/miniflux/timer"
|
||||
"github.com/miniflux/miniflux/timezone"
|
||||
"miniflux.app/model"
|
||||
"miniflux.app/timer"
|
||||
"miniflux.app/timezone"
|
||||
)
|
||||
|
||||
// FeedExists checks if the given feed exists.
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// Use of this source code is governed by the Apache 2.0
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
package storage
|
||||
package storage // import "miniflux.app/storage"
|
||||
|
||||
import (
|
||||
"database/sql"
|
||||
|
@ -10,8 +10,8 @@ import (
|
|||
"strings"
|
||||
"time"
|
||||
|
||||
"github.com/miniflux/miniflux/model"
|
||||
"github.com/miniflux/miniflux/timer"
|
||||
"miniflux.app/model"
|
||||
"miniflux.app/timer"
|
||||
)
|
||||
|
||||
// HasIcon checks if the given feed has an icon.
|
||||
|
|
|
@ -2,13 +2,13 @@
|
|||
// Use of this source code is governed by the Apache 2.0
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
package storage
|
||||
package storage // import "miniflux.app/storage"
|
||||
|
||||
import (
|
||||
"database/sql"
|
||||
"fmt"
|
||||
|
||||
"github.com/miniflux/miniflux/model"
|
||||
"miniflux.app/model"
|
||||
)
|
||||
|
||||
// HasDuplicateFeverUsername checks if another user have the same fever username.
|
||||
|
|
|
@ -2,14 +2,14 @@
|
|||
// Use of this source code is governed by the Apache 2.0
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
package storage
|
||||
package storage // import "miniflux.app/storage"
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"time"
|
||||
|
||||
"github.com/miniflux/miniflux/model"
|
||||
"github.com/miniflux/miniflux/timer"
|
||||
"miniflux.app/model"
|
||||
"miniflux.app/timer"
|
||||
)
|
||||
|
||||
const maxParsingError = 3
|
||||
|
|
|
@ -2,14 +2,14 @@
|
|||
// Use of this source code is governed by the Apache 2.0
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
package storage
|
||||
package storage // import "miniflux.app/storage"
|
||||
|
||||
import (
|
||||
"database/sql"
|
||||
"fmt"
|
||||
|
||||
"github.com/miniflux/miniflux/crypto"
|
||||
"github.com/miniflux/miniflux/model"
|
||||
"miniflux.app/crypto"
|
||||
"miniflux.app/model"
|
||||
)
|
||||
|
||||
// CreateSession creates a new session.
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// Use of this source code is governed by the Apache 2.0
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
package storage
|
||||
package storage // import "miniflux.app/storage"
|
||||
|
||||
import (
|
||||
"database/sql"
|
||||
|
|
|
@ -2,14 +2,14 @@
|
|||
// Use of this source code is governed by the Apache 2.0
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
package storage
|
||||
package storage // import "miniflux.app/storage"
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"github.com/miniflux/miniflux/timer"
|
||||
"miniflux.app/timer"
|
||||
)
|
||||
|
||||
// Timezones returns all timezones supported by the database.
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// Use of this source code is governed by the Apache 2.0
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
package storage
|
||||
package storage // import "miniflux.app/storage"
|
||||
|
||||
import (
|
||||
"database/sql"
|
||||
|
@ -11,8 +11,8 @@ import (
|
|||
"strings"
|
||||
"time"
|
||||
|
||||
"github.com/miniflux/miniflux/model"
|
||||
"github.com/miniflux/miniflux/timer"
|
||||
"miniflux.app/model"
|
||||
"miniflux.app/timer"
|
||||
|
||||
"github.com/lib/pq/hstore"
|
||||
"golang.org/x/crypto/bcrypt"
|
||||
|
|
|
@ -2,14 +2,14 @@
|
|||
// Use of this source code is governed by the Apache 2.0
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
package storage
|
||||
package storage // import "miniflux.app/storage"
|
||||
|
||||
import (
|
||||
"database/sql"
|
||||
"fmt"
|
||||
|
||||
"github.com/miniflux/miniflux/crypto"
|
||||
"github.com/miniflux/miniflux/model"
|
||||
"miniflux.app/crypto"
|
||||
"miniflux.app/model"
|
||||
)
|
||||
|
||||
// UserSessions returns the list of sessions for the given user.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue