diff --git a/controllers/PhotoController.go b/controllers/PhotoController.go index 1c0b141..1526838 100644 --- a/controllers/PhotoController.go +++ b/controllers/PhotoController.go @@ -1,14 +1,14 @@ package controllers import ( - "belajar-go/app" - "belajar-go/database" - "belajar-go/helpers" - "belajar-go/models" "net/http" "os" "path/filepath" "strconv" + "task-5-pbi-btpns-SamuelChristyAngieSihotang/app" + "task-5-pbi-btpns-SamuelChristyAngieSihotang/database" + "task-5-pbi-btpns-SamuelChristyAngieSihotang/helpers" + "task-5-pbi-btpns-SamuelChristyAngieSihotang/models" "time" "github.com/gin-gonic/gin" diff --git a/controllers/userController.go b/controllers/userController.go index 1d93a4d..a25dc15 100644 --- a/controllers/userController.go +++ b/controllers/userController.go @@ -1,12 +1,12 @@ package controllers import ( - "belajar-go/app" - "belajar-go/database" - "belajar-go/helpers" - "belajar-go/models" "net/http" "os" + "task-5-pbi-btpns-SamuelChristyAngieSihotang/app" + "task-5-pbi-btpns-SamuelChristyAngieSihotang/database" + "task-5-pbi-btpns-SamuelChristyAngieSihotang/helpers" + "task-5-pbi-btpns-SamuelChristyAngieSihotang/models" "time" "github.com/golang-jwt/jwt/v5" diff --git a/database/Migration.go b/database/Migration.go index 98d842f..d5a83e8 100644 --- a/database/Migration.go +++ b/database/Migration.go @@ -1,7 +1,7 @@ package database import ( - "belajar-go/models" + "task-5-pbi-btpns-SamuelChristyAngieSihotang/models" ) func Migration() { diff --git a/go.mod b/go.mod index 2f2c338..091f78d 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module belajar-go +module task-5-pbi-btpns-SamuelChristyAngieSihotang go 1.22.1 diff --git a/main.go b/main.go index 998bd3a..20c1caa 100644 --- a/main.go +++ b/main.go @@ -1,9 +1,9 @@ package main import ( - "belajar-go/database" - "belajar-go/helpers" - "belajar-go/router" + "task-5-pbi-btpns-SamuelChristyAngieSihotang/database" + "task-5-pbi-btpns-SamuelChristyAngieSihotang/helpers" + "task-5-pbi-btpns-SamuelChristyAngieSihotang/router" "github.com/gin-gonic/gin" ) diff --git a/middleware/requireAuth.go b/middleware/requireAuth.go index 27afa6d..5e97875 100644 --- a/middleware/requireAuth.go +++ b/middleware/requireAuth.go @@ -1,11 +1,11 @@ package middleware import ( - "belajar-go/database" - "belajar-go/models" "fmt" "net/http" "os" + "task-5-pbi-btpns-SamuelChristyAngieSihotang/database" + "task-5-pbi-btpns-SamuelChristyAngieSihotang/models" "time" "github.com/gin-gonic/gin" diff --git a/router/Routers.go b/router/Routers.go index 30888a9..bb986df 100644 --- a/router/Routers.go +++ b/router/Routers.go @@ -1,8 +1,8 @@ package router import ( - "belajar-go/controllers" - "belajar-go/middleware" + "task-5-pbi-btpns-SamuelChristyAngieSihotang/controllers" + "task-5-pbi-btpns-SamuelChristyAngieSihotang/middleware" "github.com/gin-gonic/gin" )