Update module name
This commit is contained in:
parent
89fcea28e1
commit
911afae88d
13 changed files with 21 additions and 17 deletions
|
@ -8,6 +8,8 @@ A privacy-respecting alternative front-end for Pixiv that doesn't suck
|
|||
</a>
|
||||
</p>
|
||||
|
||||
![CI badge](https://ci.codeberg.org/api/badges/12556/status.svg)
|
||||
|
||||
Questions? Feedbacks? You can [PM me](https://matrix.to/#/@vnpower:exozy.me) on
|
||||
Matrix!
|
||||
|
||||
|
@ -23,7 +25,7 @@ You can keep track of this project's development
|
|||
|
||||
## Hosting
|
||||
|
||||
Check out [this page.](https://codeberg.org/VnPower/pixivfe/wiki/Hosting). We
|
||||
Check out [this page](https://codeberg.org/VnPower/pixivfe/wiki/Hosting). We
|
||||
currently have guides for Docker and Caddy.
|
||||
|
||||
Many thanks to [dragongoose](https://codeberg.org/dragongoose) for writing the
|
||||
|
|
2
go.mod
2
go.mod
|
@ -1,4 +1,4 @@
|
|||
module pixivfe
|
||||
module codeberg.org/vnpower/pixivfe
|
||||
|
||||
go 1.21
|
||||
|
||||
|
|
|
@ -5,8 +5,8 @@ import (
|
|||
"sort"
|
||||
"strconv"
|
||||
|
||||
"codeberg.org/vnpower/pixivfe/models"
|
||||
"github.com/goccy/go-json"
|
||||
"pixivfe/models"
|
||||
)
|
||||
|
||||
func (p *PixivClient) GetArtworkImages(id string) ([]models.Image, error) {
|
||||
|
|
|
@ -6,7 +6,8 @@ import (
|
|||
"fmt"
|
||||
"io/ioutil"
|
||||
"net/http"
|
||||
"pixivfe/models"
|
||||
|
||||
"codeberg.org/vnpower/pixivfe/models"
|
||||
)
|
||||
|
||||
type PixivClient struct {
|
||||
|
|
|
@ -4,10 +4,10 @@ import (
|
|||
"fmt"
|
||||
"html/template"
|
||||
"net/http"
|
||||
"pixivfe/models"
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"codeberg.org/vnpower/pixivfe/models"
|
||||
"github.com/goccy/go-json"
|
||||
"golang.org/x/net/html"
|
||||
)
|
||||
|
|
|
@ -2,8 +2,8 @@ package handler
|
|||
|
||||
import (
|
||||
"fmt"
|
||||
"pixivfe/models"
|
||||
|
||||
"codeberg.org/vnpower/pixivfe/models"
|
||||
"github.com/goccy/go-json"
|
||||
)
|
||||
|
||||
|
|
|
@ -2,8 +2,9 @@ package handler
|
|||
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"codeberg.org/vnpower/pixivfe/models"
|
||||
"github.com/goccy/go-json"
|
||||
"pixivfe/models"
|
||||
)
|
||||
|
||||
func (p *PixivClient) GetTagData(name string) (models.TagDetail, error) {
|
||||
|
|
|
@ -2,8 +2,8 @@ package handler
|
|||
|
||||
import (
|
||||
"fmt"
|
||||
"pixivfe/models"
|
||||
|
||||
"codeberg.org/vnpower/pixivfe/models"
|
||||
"github.com/goccy/go-json"
|
||||
)
|
||||
|
||||
|
|
|
@ -4,10 +4,10 @@ import (
|
|||
"errors"
|
||||
"fmt"
|
||||
"math"
|
||||
"pixivfe/models"
|
||||
"sort"
|
||||
"strconv"
|
||||
|
||||
"codeberg.org/vnpower/pixivfe/models"
|
||||
"github.com/goccy/go-json"
|
||||
)
|
||||
|
||||
|
|
6
main.go
6
main.go
|
@ -2,12 +2,12 @@ package main
|
|||
|
||||
import (
|
||||
"net"
|
||||
"pixivfe/configs"
|
||||
"pixivfe/handler"
|
||||
"pixivfe/views"
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"codeberg.org/vnpower/pixivfe/configs"
|
||||
"codeberg.org/vnpower/pixivfe/handler"
|
||||
"codeberg.org/vnpower/pixivfe/views"
|
||||
"github.com/goccy/go-json"
|
||||
"github.com/gofiber/fiber/v2"
|
||||
"github.com/gofiber/fiber/v2/middleware/cache"
|
||||
|
|
|
@ -5,12 +5,12 @@ import (
|
|||
"fmt"
|
||||
"math"
|
||||
"net/http"
|
||||
"pixivfe/configs"
|
||||
"pixivfe/models"
|
||||
"strconv"
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"codeberg.org/vnpower/pixivfe/configs"
|
||||
"codeberg.org/vnpower/pixivfe/models"
|
||||
"github.com/gofiber/fiber/v2"
|
||||
)
|
||||
|
||||
|
|
|
@ -2,10 +2,10 @@ package views
|
|||
|
||||
import (
|
||||
"net/http"
|
||||
"pixivfe/configs"
|
||||
"pixivfe/handler"
|
||||
"time"
|
||||
|
||||
"codeberg.org/vnpower/pixivfe/configs"
|
||||
"codeberg.org/vnpower/pixivfe/handler"
|
||||
"github.com/gofiber/fiber/v2"
|
||||
)
|
||||
|
||||
|
|
|
@ -2,9 +2,9 @@ package views
|
|||
|
||||
import (
|
||||
"net/http"
|
||||
"pixivfe/configs"
|
||||
"time"
|
||||
|
||||
"codeberg.org/vnpower/pixivfe/configs"
|
||||
"github.com/gofiber/fiber/v2"
|
||||
"github.com/gofiber/fiber/v2/middleware/session"
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue