Change module name
This commit is contained in:
parent
cee139e960
commit
04aa36830f
20 changed files with 34 additions and 34 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -1,4 +1,4 @@
|
||||||
.env
|
.env
|
||||||
*.exe
|
*.exe
|
||||||
popvaud-people
|
pop-camarades
|
||||||
*.db
|
*.db
|
||||||
|
|
@ -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"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -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"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -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"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -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"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -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"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -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"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -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"
|
||||||
|
|
|
||||||
|
|
@ -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
2
go.mod
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -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"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
6
main.go
6
main.go
|
|
@ -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"
|
||||||
|
|
|
||||||
|
|
@ -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"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -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"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -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"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue