1
0
Fork 0
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:
Frédéric Guillot 2018-08-24 21:51:50 -07:00
parent 7f2612d9a6
commit dbcc5d8a97
263 changed files with 962 additions and 956 deletions

View file

@ -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.

View file

@ -7,4 +7,4 @@
Package storage implements a set of functions to interact with the database.
*/
package storage
package storage // import "miniflux.app/storage"

View file

@ -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.

View file

@ -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"
)

View file

@ -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.

View file

@ -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.

View file

@ -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.

View file

@ -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.

View file

@ -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.

View file

@ -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

View file

@ -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.

View file

@ -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"

View file

@ -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.

View file

@ -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"

View file

@ -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.