Skip to content

Commit

Permalink
Aula_4
Browse files Browse the repository at this point in the history
  • Loading branch information
leollo98 committed Sep 20, 2024
1 parent c098b0f commit c288206
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions controllers/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"net/http"

"github.com/gin-gonic/gin"
"github.com/guilhermeonrails/api-go-gin/database"
"github.com/guilhermeonrails/api-go-gin/models"
"github.com/alura-cursos/Curso_CI/database"
"github.com/alura-cursos/Curso_CI/models"
)

func Saudacoes(c *gin.Context) {
Expand Down
2 changes: 1 addition & 1 deletion database/db.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package database
import (
"log"

"github.com/guilhermeonrails/api-go-gin/models"
"github.com/alura-cursos/Curso_CI/models"
"gorm.io/driver/postgres"
"gorm.io/gorm"
)
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 github.com/guilhermeonrails/api-go-gin
module github.com/alura-cursos/Curso_CI

go 1.15

Expand Down
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package main

import (
"github.com/guilhermeonrails/api-go-gin/database"
"github.com/guilhermeonrails/api-go-gin/routes"
"github.com/alura-cursos/Curso_CI/database"
"github.com/alura-cursos/Curso_CI/routes"
)

func main() {
Expand Down
6 changes: 3 additions & 3 deletions main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ import (
"testing"

"github.com/gin-gonic/gin"
"github.com/guilhermeonrails/api-go-gin/controllers"
"github.com/guilhermeonrails/api-go-gin/database"
"github.com/guilhermeonrails/api-go-gin/models"
"github.com/alura-cursos/Curso_CI/controllers"
"github.com/alura-cursos/Curso_CI/database"
"github.com/alura-cursos/Curso_CI/models"
"github.com/stretchr/testify/assert"
)

Expand Down
2 changes: 1 addition & 1 deletion routes/route.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package routes

import (
"github.com/gin-gonic/gin"
"github.com/guilhermeonrails/api-go-gin/controllers"
"github.com/alura-cursos/Curso_CI/controllers"
)

func HandleRequest() {
Expand Down

0 comments on commit c288206

Please sign in to comment.