From e9bd72306e8ad1c7d17a5f1bd39bb6cb86d3ab19 Mon Sep 17 00:00:00 2001 From: r Date: Wed, 1 Jan 2020 15:58:27 +0000 Subject: Rename package to bloat --- service/auth.go | 5 +++-- service/logging.go | 3 ++- service/service.go | 8 ++++---- service/transport.go | 3 ++- 4 files changed, 11 insertions(+), 8 deletions(-) (limited to 'service') 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" ) -- cgit v1.2.3