mirror of
https://gitea.phreedom.club/localhost_frssoft/bloat.git
synced 2025-05-05 11:28:45 +00:00
Rename package to bloat
This commit is contained in:
parent
cad01cb1f8
commit
e9bd72306e
16 changed files with 38 additions and 34 deletions
|
@ -4,9 +4,10 @@ import (
|
|||
"context"
|
||||
"errors"
|
||||
"io"
|
||||
"mastodon"
|
||||
"mime/multipart"
|
||||
"web/model"
|
||||
|
||||
"bloat/model"
|
||||
"mastodon"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
|
@ -6,7 +6,8 @@ import (
|
|||
"log"
|
||||
"mime/multipart"
|
||||
"time"
|
||||
"web/model"
|
||||
|
||||
"bloat/model"
|
||||
)
|
||||
|
||||
type loggingService struct {
|
||||
|
|
|
@ -12,10 +12,10 @@ import (
|
|||
"net/url"
|
||||
"strings"
|
||||
|
||||
"bloat/model"
|
||||
"bloat/renderer"
|
||||
"bloat/util"
|
||||
"mastodon"
|
||||
"web/model"
|
||||
"web/renderer"
|
||||
"web/util"
|
||||
)
|
||||
|
||||
var (
|
||||
|
@ -93,7 +93,7 @@ func (svc *service) GetAuthUrl(ctx context.Context, instance string) (
|
|||
session := model.Session{
|
||||
ID: sessionID,
|
||||
InstanceDomain: instance,
|
||||
Settings: *model.NewSettings(),
|
||||
Settings: *model.NewSettings(),
|
||||
}
|
||||
err = svc.sessionRepo.Add(session)
|
||||
if err != nil {
|
||||
|
|
|
@ -7,7 +7,8 @@ import (
|
|||
"path"
|
||||
"strconv"
|
||||
"time"
|
||||
"web/model"
|
||||
|
||||
"bloat/model"
|
||||
|
||||
"github.com/gorilla/mux"
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue