1
0
Fork 0

Move packages http and url

This commit is contained in:
Frédéric Guillot 2017-12-02 20:26:21 -08:00
parent 2356ddad28
commit 6f5350a497
14 changed files with 11 additions and 11 deletions

View file

@ -8,7 +8,7 @@ import (
"fmt" "fmt"
"net/url" "net/url"
"github.com/miniflux/miniflux2/reader/http" "github.com/miniflux/miniflux2/http"
) )
// Client represents a Pinboard token. // Client represents a Pinboard token.

View file

@ -854,7 +854,7 @@ func TestGetAllEntries(t *testing.T) {
t.Fatal(`We should have 0 read entries`) t.Fatal(`We should have 0 read entries`)
} }
resultWithDifferentSorting, err := client.Entries(&miniflux.Filter{Order: "published_at", Direction: "asc"}) resultWithDifferentSorting, err := client.Entries(&miniflux.Filter{Order: "published_at", Direction: "desc"})
if err != nil { if err != nil {
t.Fatal(err) t.Fatal(err)
} }

View file

@ -11,8 +11,8 @@ import (
"github.com/miniflux/miniflux2/errors" "github.com/miniflux/miniflux2/errors"
"github.com/miniflux/miniflux2/helper" "github.com/miniflux/miniflux2/helper"
"github.com/miniflux/miniflux2/http"
"github.com/miniflux/miniflux2/model" "github.com/miniflux/miniflux2/model"
"github.com/miniflux/miniflux2/reader/http"
"github.com/miniflux/miniflux2/reader/icon" "github.com/miniflux/miniflux2/reader/icon"
"github.com/miniflux/miniflux2/storage" "github.com/miniflux/miniflux2/storage"
) )

View file

@ -11,9 +11,9 @@ import (
"log" "log"
"github.com/miniflux/miniflux2/helper" "github.com/miniflux/miniflux2/helper"
"github.com/miniflux/miniflux2/http"
"github.com/miniflux/miniflux2/model" "github.com/miniflux/miniflux2/model"
"github.com/miniflux/miniflux2/reader/http" "github.com/miniflux/miniflux2/url"
"github.com/miniflux/miniflux2/reader/url"
"github.com/PuerkitoBio/goquery" "github.com/PuerkitoBio/goquery"
) )

View file

@ -10,7 +10,7 @@ import (
"io" "io"
"strings" "strings"
"github.com/miniflux/miniflux2/reader/url" "github.com/miniflux/miniflux2/url"
"golang.org/x/net/html" "golang.org/x/net/html"
) )

View file

@ -13,9 +13,9 @@ import (
"github.com/miniflux/miniflux2/errors" "github.com/miniflux/miniflux2/errors"
"github.com/miniflux/miniflux2/helper" "github.com/miniflux/miniflux2/helper"
"github.com/miniflux/miniflux2/http"
"github.com/miniflux/miniflux2/reader/feed" "github.com/miniflux/miniflux2/reader/feed"
"github.com/miniflux/miniflux2/reader/http" "github.com/miniflux/miniflux2/url"
"github.com/miniflux/miniflux2/reader/url"
"github.com/PuerkitoBio/goquery" "github.com/PuerkitoBio/goquery"
) )

View file

@ -16,10 +16,10 @@ import (
"github.com/miniflux/miniflux2/config" "github.com/miniflux/miniflux2/config"
"github.com/miniflux/miniflux2/errors" "github.com/miniflux/miniflux2/errors"
"github.com/miniflux/miniflux2/locale" "github.com/miniflux/miniflux2/locale"
"github.com/miniflux/miniflux2/reader/url"
"github.com/miniflux/miniflux2/server/route" "github.com/miniflux/miniflux2/server/route"
"github.com/miniflux/miniflux2/server/template/helper" "github.com/miniflux/miniflux2/server/template/helper"
"github.com/miniflux/miniflux2/server/ui/filter" "github.com/miniflux/miniflux2/server/ui/filter"
"github.com/miniflux/miniflux2/url"
"github.com/gorilla/mux" "github.com/gorilla/mux"
) )

View file

@ -12,7 +12,7 @@ import (
"time" "time"
"github.com/miniflux/miniflux2/helper" "github.com/miniflux/miniflux2/helper"
"github.com/miniflux/miniflux2/reader/http" "github.com/miniflux/miniflux2/http"
"github.com/miniflux/miniflux2/server/core" "github.com/miniflux/miniflux2/server/core"
) )

View file

@ -8,8 +8,8 @@ import (
"encoding/base64" "encoding/base64"
"strings" "strings"
"github.com/miniflux/miniflux2/reader/url"
"github.com/miniflux/miniflux2/server/route" "github.com/miniflux/miniflux2/server/route"
"github.com/miniflux/miniflux2/url"
"github.com/PuerkitoBio/goquery" "github.com/PuerkitoBio/goquery"
"github.com/gorilla/mux" "github.com/gorilla/mux"