Update module name
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
ci/woodpecker/tag/woodpecker Pipeline failed

This commit is contained in:
VnPower 2023-08-28 18:50:38 +07:00
parent 89fcea28e1
commit 911afae88d
Signed by: vnpower
GPG key ID: 881DE3DEB966106C
13 changed files with 21 additions and 17 deletions

View file

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

@ -1,4 +1,4 @@
module pixivfe
module codeberg.org/vnpower/pixivfe
go 1.21

View file

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

View file

@ -6,7 +6,8 @@ import (
"fmt"
"io/ioutil"
"net/http"
"pixivfe/models"
"codeberg.org/vnpower/pixivfe/models"
)
type PixivClient struct {

View file

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

View file

@ -2,8 +2,8 @@ package handler
import (
"fmt"
"pixivfe/models"
"codeberg.org/vnpower/pixivfe/models"
"github.com/goccy/go-json"
)

View file

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

View file

@ -2,8 +2,8 @@ package handler
import (
"fmt"
"pixivfe/models"
"codeberg.org/vnpower/pixivfe/models"
"github.com/goccy/go-json"
)

View file

@ -4,10 +4,10 @@ import (
"errors"
"fmt"
"math"
"pixivfe/models"
"sort"
"strconv"
"codeberg.org/vnpower/pixivfe/models"
"github.com/goccy/go-json"
)

View file

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

View file

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

View file

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

View file

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