fix: module name

This commit is contained in:
2025-03-16 12:40:13 +07:00
parent e95f7bd342
commit 670906d926
10 changed files with 25 additions and 15 deletions

View File

@@ -1,8 +1,9 @@
package services
import (
"app/internal/dialogs"
"fmt"
"git.gogacoder.ru/NTO/boilerplate/internal/dialogs"
"git.gogacoder.ru/NTO/boilerplate/internal/models"
)
func InsertDefaultData() {
@@ -22,7 +23,7 @@ func InsertDefaultData() {
//}
func insertPosts() {
InsertDefaultEntityData(&PostService{}, []Post{
InsertDefaultEntityData(&PostService{}, []models.Post{
{Text: "В Кузбассе начали строить дома выше, чтобы их жители стали ближе к Богу."},
})
}

View File

@@ -1,11 +1,11 @@
package services
import (
"app/internal/database"
"app/internal/models"
"context"
"crypto/sha256"
"fmt"
"git.gogacoder.ru/NTO/boilerplate/internal/database"
"git.gogacoder.ru/NTO/boilerplate/internal/models"
"io"
"log/slog"
"os"

View File

@@ -1,11 +1,11 @@
package services
import (
"app/internal/dal"
"app/internal/database"
"app/internal/models"
"app/internal/utils"
"errors"
"git.gogacoder.ru/NTO/boilerplate/internal/dal"
"git.gogacoder.ru/NTO/boilerplate/internal/database"
"git.gogacoder.ru/NTO/boilerplate/internal/models"
"git.gogacoder.ru/NTO/boilerplate/internal/utils"
"gorm.io/gen/field"
"gorm.io/gorm"
)