aboutsummaryrefslogtreecommitdiff
path: root/service
diff options
context:
space:
mode:
authorr <r@freesoftwareextremist.com>2020-01-01 15:58:27 +0000
committerr <r@freesoftwareextremist.com>2020-01-01 15:58:27 +0000
commite9bd72306e8ad1c7d17a5f1bd39bb6cb86d3ab19 (patch)
tree063357b6f4ecefaa8cdda2f9c16e73da05b1140b /service
parentcad01cb1f8e32cf7725505af06d6ffcc6c612045 (diff)
downloadbloat-e9bd72306e8ad1c7d17a5f1bd39bb6cb86d3ab19.tar.gz
bloat-e9bd72306e8ad1c7d17a5f1bd39bb6cb86d3ab19.zip
Rename package to bloat
Diffstat (limited to 'service')
-rw-r--r--service/auth.go5
-rw-r--r--service/logging.go3
-rw-r--r--service/service.go8
-rw-r--r--service/transport.go3
4 files changed, 11 insertions, 8 deletions
diff --git a/service/auth.go b/service/auth.go
index efc8dd3..2aa71d9 100644
--- a/service/auth.go
+++ b/service/auth.go
@@ -4,9 +4,10 @@ import (
"context"
"errors"
"io"
- "mastodon"
"mime/multipart"
- "web/model"
+
+ "bloat/model"
+ "mastodon"
)
var (
diff --git a/service/logging.go b/service/logging.go
index d1685ac..7d53f89 100644
--- a/service/logging.go
+++ b/service/logging.go
@@ -6,7 +6,8 @@ import (
"log"
"mime/multipart"
"time"
- "web/model"
+
+ "bloat/model"
)
type loggingService struct {
diff --git a/service/service.go b/service/service.go
index 27e0d4a..f8a4aed 100644
--- a/service/service.go
+++ b/service/service.go
@@ -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 {
diff --git a/service/transport.go b/service/transport.go
index 8075377..dc7e479 100644
--- a/service/transport.go
+++ b/service/transport.go
@@ -7,7 +7,8 @@ import (
"path"
"strconv"
"time"
- "web/model"
+
+ "bloat/model"
"github.com/gorilla/mux"
)