change module url

This commit is contained in:
Chris Cromer 2022-07-22 23:00:31 -04:00
parent ea62424f7f
commit bbc6bb7d6b
Signed by: cromer
GPG Key ID: FA91071797BEEEC2
8 changed files with 20 additions and 15 deletions

View File

@ -1,14 +1,15 @@
package controllers package controllers
import ( import (
"backend/database"
"backend/models"
"backend/utils"
"compress/gzip" "compress/gzip"
"encoding/base64" "encoding/base64"
"encoding/json" "encoding/json"
"net/http" "net/http"
"git.cromer.cl/Proyecto-Titulo/alai-server/backend/database"
"git.cromer.cl/Proyecto-Titulo/alai-server/backend/models"
"git.cromer.cl/Proyecto-Titulo/alai-server/backend/utils"
"github.com/julienschmidt/httprouter" "github.com/julienschmidt/httprouter"
"gorm.io/gorm" "gorm.io/gorm"
) )

View File

@ -1,14 +1,15 @@
package controllers package controllers
import ( import (
"backend/database"
"backend/models"
"backend/utils"
"encoding/json" "encoding/json"
"errors" "errors"
"net/http" "net/http"
"strconv" "strconv"
"git.cromer.cl/Proyecto-Titulo/alai-server/backend/database"
"git.cromer.cl/Proyecto-Titulo/alai-server/backend/models"
"git.cromer.cl/Proyecto-Titulo/alai-server/backend/utils"
"github.com/julienschmidt/httprouter" "github.com/julienschmidt/httprouter"
) )

View File

@ -1,9 +1,10 @@
package database package database
import ( import (
"backend/models"
"os" "os"
"git.cromer.cl/Proyecto-Titulo/alai-server/backend/models"
"gorm.io/driver/mysql" "gorm.io/driver/mysql"
"gorm.io/gorm" "gorm.io/gorm"
"gorm.io/gorm/schema" "gorm.io/gorm/schema"

View File

@ -1,4 +1,4 @@
module backend module git.cromer.cl/Proyecto-Titulo/alai-server/backend
go 1.18 go 1.18

View File

@ -1,11 +1,12 @@
package main package main
import ( import (
"backend/database"
"backend/routes"
"fmt" "fmt"
"os" "os"
"git.cromer.cl/Proyecto-Titulo/alai-server/backend/database"
"git.cromer.cl/Proyecto-Titulo/alai-server/backend/routes"
"github.com/joho/godotenv" "github.com/joho/godotenv"
"gorm.io/gorm" "gorm.io/gorm"
) )

View File

@ -1,11 +1,12 @@
package middlewares package middlewares
import ( import (
"backend/utils"
"errors" "errors"
"net/http" "net/http"
"strings" "strings"
"git.cromer.cl/Proyecto-Titulo/alai-server/backend/utils"
"github.com/julienschmidt/httprouter" "github.com/julienschmidt/httprouter"
) )

View File

@ -1,8 +1,8 @@
package routes package routes
import ( import (
"backend/controllers" "git.cromer.cl/Proyecto-Titulo/alai-server/backend/controllers"
"backend/middlewares" "git.cromer.cl/Proyecto-Titulo/alai-server/backend/middlewares"
"github.com/julienschmidt/httprouter" "github.com/julienschmidt/httprouter"
) )

View File

@ -1,8 +1,8 @@
package routes package routes
import ( import (
"backend/controllers" "git.cromer.cl/Proyecto-Titulo/alai-server/backend/controllers"
"backend/middlewares" "git.cromer.cl/Proyecto-Titulo/alai-server/backend/middlewares"
"github.com/julienschmidt/httprouter" "github.com/julienschmidt/httprouter"
) )