From f23c43033dba8504a8ac0d72ef844bfd7a227d61 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 ++++---- main.go | 4 ++-- resource/impl.go | 2 +- resource/manager.go | 2 +- 5 files changed, 9 insertions(+), 9 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/main.go b/main.go index 603a6e8..3452e37 100644 --- a/main.go +++ b/main.go @@ -1,13 +1,13 @@ package main import ( + "git.bbr-dev.info/brajkovic/resource_manager/cache" + "git.bbr-dev.info/brajkovic/resource_manager/resource" "github.com/gin-gonic/gin" "github.com/joho/godotenv" "log" "net/http" "os" - "resource_manager/cache" - "resource_manager/resource" "strings" "time" ) 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" )