Skip to content

Commit

Permalink
change module name
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelsihotang1 committed Mar 23, 2024
1 parent ee19655 commit 6029410
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 17 deletions.
8 changes: 4 additions & 4 deletions controllers/PhotoController.go
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
8 changes: 4 additions & 4 deletions controllers/userController.go
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
2 changes: 1 addition & 1 deletion database/Migration.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package database

import (
"belajar-go/models"
"task-5-pbi-btpns-SamuelChristyAngieSihotang/models"
)

func Migration() {
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module belajar-go
module task-5-pbi-btpns-SamuelChristyAngieSihotang

go 1.22.1

Expand Down
6 changes: 3 additions & 3 deletions main.go
Original file line number Diff line number Diff line change
@@ -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"
)
Expand Down
4 changes: 2 additions & 2 deletions middleware/requireAuth.go
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
4 changes: 2 additions & 2 deletions router/Routers.go
Original file line number Diff line number Diff line change
@@ -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"
)
Expand Down

0 comments on commit 6029410

Please sign in to comment.