diff options
Diffstat (limited to 'service')
-rw-r--r-- | service/auth.go | 5 | ||||
-rw-r--r-- | service/logging.go | 3 | ||||
-rw-r--r-- | service/service.go | 8 | ||||
-rw-r--r-- | service/transport.go | 3 |
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" ) |