mirror of
https://gitea.phreedom.club/localhost_frssoft/bloat.git
synced 2025-05-05 11:28:45 +00:00
Use vendored dependencies
This commit is contained in:
parent
e73df8de9a
commit
9cf648eaa3
27 changed files with 3076 additions and 19 deletions
|
@ -5,8 +5,8 @@ import (
|
|||
"errors"
|
||||
"mime/multipart"
|
||||
|
||||
"bloat/mastodon"
|
||||
"bloat/model"
|
||||
"mastodon"
|
||||
)
|
||||
|
||||
var (
|
||||
|
@ -110,7 +110,7 @@ func (s *as) ServeNotificationPage(ctx context.Context, c *model.Client,
|
|||
return s.Service.ServeNotificationPage(ctx, c, maxID, minID)
|
||||
}
|
||||
|
||||
func (s *as) ServeUserPage(ctx context.Context, c *model.Client, id string,
|
||||
func (s *as) ServeUserPage(ctx context.Context, c *model.Client, id string,
|
||||
pageType string, maxID string, minID string) (err error) {
|
||||
err = s.authenticateClient(ctx, c)
|
||||
if err != nil {
|
||||
|
@ -144,7 +144,7 @@ func (s *as) ServeSearchPage(ctx context.Context, c *model.Client, q string,
|
|||
return s.Service.ServeSearchPage(ctx, c, q, qType, offset)
|
||||
}
|
||||
|
||||
func (s *as) ServeUserSearchPage(ctx context.Context, c *model.Client,
|
||||
func (s *as) ServeUserSearchPage(ctx context.Context, c *model.Client,
|
||||
id string, q string, offset int) (err error) {
|
||||
err = s.authenticateClient(ctx, c)
|
||||
if err != nil {
|
||||
|
|
|
@ -8,10 +8,10 @@ import (
|
|||
"net/url"
|
||||
"strings"
|
||||
|
||||
"bloat/mastodon"
|
||||
"bloat/model"
|
||||
"bloat/renderer"
|
||||
"bloat/util"
|
||||
"mastodon"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue