Rename package to bloat

This commit is contained in:
r 2020-01-01 15:58:27 +00:00
parent cad01cb1f8
commit e9bd72306e
16 changed files with 38 additions and 34 deletions

View file

@ -4,9 +4,10 @@ import (
"context"
"errors"
"io"
"mastodon"
"mime/multipart"
"web/model"
"bloat/model"
"mastodon"
)
var (

View file

@ -6,7 +6,8 @@ import (
"log"
"mime/multipart"
"time"
"web/model"
"bloat/model"
)
type loggingService struct {

View file

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

View file

@ -7,7 +7,8 @@ import (
"path"
"strconv"
"time"
"web/model"
"bloat/model"
"github.com/gorilla/mux"
)