rename go packages

This commit is contained in:
Nazar Kanaev 2021-02-26 13:42:03 +00:00
parent 1037a8de0d
commit adef7b76c9
6 changed files with 9 additions and 9 deletions

View File

@ -9,9 +9,9 @@ import (
"path/filepath" "path/filepath"
"strings" "strings"
"github.com/nkanaev/yarr/platform" "github.com/nkanaev/yarr/src/platform"
"github.com/nkanaev/yarr/server" "github.com/nkanaev/yarr/src/server"
"github.com/nkanaev/yarr/storage" "github.com/nkanaev/yarr/src/storage"
sdopen "github.com/skratchdot/open-golang/open" sdopen "github.com/skratchdot/open-golang/open"
) )

View File

@ -4,7 +4,7 @@ package platform
import ( import (
"github.com/getlantern/systray" "github.com/getlantern/systray"
"github.com/nkanaev/yarr/server" "github.com/nkanaev/yarr/src/server"
"github.com/skratchdot/open-golang/open" "github.com/skratchdot/open-golang/open"
) )

View File

@ -3,7 +3,7 @@
package platform package platform
import ( import (
"github.com/nkanaev/yarr/server" "github.com/nkanaev/yarr/src/server"
) )
func Start(s *server.Handler) { func Start(s *server.Handler) {

View File

@ -6,7 +6,7 @@ import (
"fmt" "fmt"
"github.com/PuerkitoBio/goquery" "github.com/PuerkitoBio/goquery"
"github.com/mmcdole/gofeed" "github.com/mmcdole/gofeed"
"github.com/nkanaev/yarr/storage" "github.com/nkanaev/yarr/src/storage"
"io/ioutil" "io/ioutil"
"net" "net"
"net/http" "net/http"

View File

@ -3,8 +3,8 @@ package server
import ( import (
"encoding/json" "encoding/json"
"fmt" "fmt"
"github.com/nkanaev/yarr/storage" "github.com/nkanaev/yarr/src/storage"
"github.com/nkanaev/yarr/assets" "github.com/nkanaev/yarr/src/assets"
"html" "html"
"io/ioutil" "io/ioutil"
"math" "math"

View File

@ -9,7 +9,7 @@ import (
"sync/atomic" "sync/atomic"
"time" "time"
"github.com/nkanaev/yarr/storage" "github.com/nkanaev/yarr/src/storage"
) )
type Handler struct { type Handler struct {