From b7b0123dd9bc919a239814711b546e316164535d Mon Sep 17 00:00:00 2001 From: Borna Rajkovic Date: Fri, 19 Nov 2021 17:32:44 +0100 Subject: [PATCH] Updated module name --- go.mod | 2 +- handlers.go | 8 ++++---- resource/impl.go | 2 +- resource/manager.go | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/go.mod b/go.mod index 6d5cfcb..2b6c483 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module resource_manager +module git.bbr-dev.info/brajkovic/resource_manager go 1.17 diff --git a/handlers.go b/handlers.go index b96b80b..b36a025 100644 --- a/handlers.go +++ b/handlers.go @@ -3,10 +3,10 @@ package main import ( "bytes" "encoding/base64" + "git.bbr-dev.info/brajkovic/resource_manager/resource" "github.com/gin-gonic/gin" "log" "net/http" - "resource_manager/resource" "strings" ) @@ -14,9 +14,9 @@ type LegacySave struct { Content string `json:"content"` Path string `json:"path"` Properties struct { - Height int `json:"height"` - Overwrite bool `json:"overwrite"` - MimeType string `json:"mimeType"` + Height int `json:"height"` + Overwrite bool `json:"overwrite"` + MimeType string `json:"mimeType"` } `json:"properties"` } diff --git a/resource/impl.go b/resource/impl.go index 8a22250..2d43fdf 100644 --- a/resource/impl.go +++ b/resource/impl.go @@ -4,6 +4,7 @@ import ( "bytes" "context" "errors" + "git.bbr-dev.info/brajkovic/resource_manager/cache" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/s3" @@ -13,7 +14,6 @@ import ( "net/url" "os" "path/filepath" - "resource_manager/cache" "strconv" "strings" "sync" diff --git a/resource/manager.go b/resource/manager.go index a50f512..e2f8b33 100644 --- a/resource/manager.go +++ b/resource/manager.go @@ -3,9 +3,9 @@ package resource import ( "bytes" "context" + "git.bbr-dev.info/brajkovic/resource_manager/cache" "log" "os" - "resource_manager/cache" "strings" "time" )