Change module name

This commit is contained in:
William Bouzourène 2025-01-05 14:52:27 +01:00
parent 3e7aa8e8f5
commit 66649193cc
Signed by: bouzoure
SSH key fingerprint: SHA256:19MbXpLua4rUtk8tunMesD8KUKb91LXLHg8E/qTooww
20 changed files with 34 additions and 34 deletions

2
.gitignore vendored
View file

@ -1,4 +1,4 @@
.env .env
*.exe *.exe
popvaud-people pop-camarades
*.db *.db

View file

@ -1,8 +1,8 @@
package controllers package controllers
import ( import (
"git.readonly.ch/bouzoure/popvaud-people/helpers" "git.readonly.ch/bouzoure/pop-camarades/helpers"
"git.readonly.ch/bouzoure/popvaud-people/models" "git.readonly.ch/bouzoure/pop-camarades/models"
"github.com/go-playground/validator" "github.com/go-playground/validator"
"github.com/gofiber/fiber/v2" "github.com/gofiber/fiber/v2"
) )

View file

@ -4,8 +4,8 @@ import (
"errors" "errors"
"fmt" "fmt"
"git.readonly.ch/bouzoure/popvaud-people/helpers" "git.readonly.ch/bouzoure/pop-camarades/helpers"
"git.readonly.ch/bouzoure/popvaud-people/models" "git.readonly.ch/bouzoure/pop-camarades/models"
"github.com/gofiber/fiber/v2" "github.com/gofiber/fiber/v2"
"gorm.io/gorm" "gorm.io/gorm"
) )

View file

@ -4,8 +4,8 @@ import (
"errors" "errors"
"fmt" "fmt"
"git.readonly.ch/bouzoure/popvaud-people/helpers" "git.readonly.ch/bouzoure/pop-camarades/helpers"
"git.readonly.ch/bouzoure/popvaud-people/models" "git.readonly.ch/bouzoure/pop-camarades/models"
"github.com/gofiber/fiber/v2" "github.com/gofiber/fiber/v2"
"gorm.io/gorm" "gorm.io/gorm"
) )

View file

@ -1,7 +1,7 @@
package controllers package controllers
import ( import (
"git.readonly.ch/bouzoure/popvaud-people/helpers" "git.readonly.ch/bouzoure/pop-camarades/helpers"
"github.com/gofiber/fiber/v2" "github.com/gofiber/fiber/v2"
) )

View file

@ -7,8 +7,8 @@ import (
"fmt" "fmt"
"image/png" "image/png"
"git.readonly.ch/bouzoure/popvaud-people/helpers" "git.readonly.ch/bouzoure/pop-camarades/helpers"
"git.readonly.ch/bouzoure/popvaud-people/models" "git.readonly.ch/bouzoure/pop-camarades/models"
"github.com/gofiber/fiber/v2" "github.com/gofiber/fiber/v2"
"github.com/pquerna/otp/totp" "github.com/pquerna/otp/totp"
) )

View file

@ -4,8 +4,8 @@ import (
"errors" "errors"
"fmt" "fmt"
"git.readonly.ch/bouzoure/popvaud-people/helpers" "git.readonly.ch/bouzoure/pop-camarades/helpers"
"git.readonly.ch/bouzoure/popvaud-people/models" "git.readonly.ch/bouzoure/pop-camarades/models"
"github.com/gofiber/fiber/v2" "github.com/gofiber/fiber/v2"
"gorm.io/gorm" "gorm.io/gorm"
) )

View file

@ -5,8 +5,8 @@ import (
"fmt" "fmt"
"strconv" "strconv"
"git.readonly.ch/bouzoure/popvaud-people/helpers" "git.readonly.ch/bouzoure/pop-camarades/helpers"
"git.readonly.ch/bouzoure/popvaud-people/models" "git.readonly.ch/bouzoure/pop-camarades/models"
"github.com/gofiber/fiber/v2" "github.com/gofiber/fiber/v2"
"gorm.io/gorm" "gorm.io/gorm"
) )

View file

@ -5,8 +5,8 @@ import (
"fmt" "fmt"
"strconv" "strconv"
"git.readonly.ch/bouzoure/popvaud-people/helpers" "git.readonly.ch/bouzoure/pop-camarades/helpers"
"git.readonly.ch/bouzoure/popvaud-people/models" "git.readonly.ch/bouzoure/pop-camarades/models"
"github.com/go-playground/validator" "github.com/go-playground/validator"
"github.com/gofiber/fiber/v2" "github.com/gofiber/fiber/v2"
"gorm.io/gorm" "gorm.io/gorm"

View file

@ -3,8 +3,8 @@ package controllers
import ( import (
"fmt" "fmt"
"git.readonly.ch/bouzoure/popvaud-people/helpers" "git.readonly.ch/bouzoure/pop-camarades/helpers"
"git.readonly.ch/bouzoure/popvaud-people/models" "git.readonly.ch/bouzoure/pop-camarades/models"
"github.com/go-playground/validator" "github.com/go-playground/validator"
"github.com/gofiber/fiber/v2" "github.com/gofiber/fiber/v2"
) )

2
go.mod
View file

@ -1,4 +1,4 @@
module git.readonly.ch/bouzoure/popvaud-people module git.readonly.ch/bouzoure/pop-camarades
go 1.23.4 go 1.23.4

View file

@ -3,7 +3,7 @@ package helpers
import ( import (
"log" "log"
"git.readonly.ch/bouzoure/popvaud-people/models" "git.readonly.ch/bouzoure/pop-camarades/models"
"github.com/glebarez/sqlite" "github.com/glebarez/sqlite"
"gorm.io/gorm" "gorm.io/gorm"
) )

View file

@ -4,7 +4,7 @@ import (
"errors" "errors"
"fmt" "fmt"
"git.readonly.ch/bouzoure/popvaud-people/models" "git.readonly.ch/bouzoure/pop-camarades/models"
"github.com/gofiber/fiber/v2" "github.com/gofiber/fiber/v2"
"gorm.io/gorm" "gorm.io/gorm"
) )

View file

@ -7,9 +7,9 @@ import (
"log" "log"
"net/http" "net/http"
"git.readonly.ch/bouzoure/popvaud-people/controllers" "git.readonly.ch/bouzoure/pop-camarades/controllers"
"git.readonly.ch/bouzoure/popvaud-people/helpers" "git.readonly.ch/bouzoure/pop-camarades/helpers"
"git.readonly.ch/bouzoure/popvaud-people/middlewares" "git.readonly.ch/bouzoure/pop-camarades/middlewares"
"github.com/flosch/pongo2/v6" "github.com/flosch/pongo2/v6"
"github.com/gofiber/fiber/v2" "github.com/gofiber/fiber/v2"
"github.com/gofiber/fiber/v2/middleware/filesystem" "github.com/gofiber/fiber/v2/middleware/filesystem"

View file

@ -3,7 +3,7 @@ package middlewares
import ( import (
"fmt" "fmt"
"git.readonly.ch/bouzoure/popvaud-people/helpers" "git.readonly.ch/bouzoure/pop-camarades/helpers"
"github.com/gofiber/fiber/v2" "github.com/gofiber/fiber/v2"
"github.com/google/uuid" "github.com/google/uuid"
) )

View file

@ -1,8 +1,8 @@
package middlewares package middlewares
import ( import (
"git.readonly.ch/bouzoure/popvaud-people/helpers" "git.readonly.ch/bouzoure/pop-camarades/helpers"
"git.readonly.ch/bouzoure/popvaud-people/models" "git.readonly.ch/bouzoure/pop-camarades/models"
"github.com/gofiber/fiber/v2" "github.com/gofiber/fiber/v2"
) )

View file

@ -4,8 +4,8 @@ import (
"fmt" "fmt"
"strings" "strings"
"git.readonly.ch/bouzoure/popvaud-people/helpers" "git.readonly.ch/bouzoure/pop-camarades/helpers"
"git.readonly.ch/bouzoure/popvaud-people/models" "git.readonly.ch/bouzoure/pop-camarades/models"
"github.com/gofiber/fiber/v2" "github.com/gofiber/fiber/v2"
"github.com/google/uuid" "github.com/google/uuid"
) )

View file

@ -4,8 +4,8 @@ import (
"fmt" "fmt"
"time" "time"
"git.readonly.ch/bouzoure/popvaud-people/helpers" "git.readonly.ch/bouzoure/pop-camarades/helpers"
"git.readonly.ch/bouzoure/popvaud-people/models" "git.readonly.ch/bouzoure/pop-camarades/models"
"github.com/gofiber/fiber/v2" "github.com/gofiber/fiber/v2"
) )

View file

@ -3,8 +3,8 @@ package middlewares
import ( import (
"fmt" "fmt"
"git.readonly.ch/bouzoure/popvaud-people/helpers" "git.readonly.ch/bouzoure/pop-camarades/helpers"
"git.readonly.ch/bouzoure/popvaud-people/models" "git.readonly.ch/bouzoure/pop-camarades/models"
"github.com/gofiber/fiber/v2" "github.com/gofiber/fiber/v2"
"github.com/google/uuid" "github.com/google/uuid"
) )

View file

@ -35,7 +35,7 @@
<a <a
class="link-secondary text-bold" class="link-secondary text-bold"
target="_blank" target="_blank"
href="https://git.readonly.ch/bouzoure/popvaud-people" href="https://git.readonly.ch/bouzoure/pop-camarades"
> >
<i class="bi-code-slash"></i> <i class="bi-code-slash"></i>
Code source Code source