fix: module name
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
package excel
|
||||
|
||||
import (
|
||||
"app/internal/dialogs"
|
||||
"errors"
|
||||
"fmt"
|
||||
"git.gogacoder.ru/NTO/boilerplate/internal/dialogs"
|
||||
"github.com/kuzgoga/fogg"
|
||||
"github.com/xuri/excelize/v2"
|
||||
"golang.org/x/text/language"
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
package database
|
||||
|
||||
import (
|
||||
"app/internal/dal"
|
||||
"context"
|
||||
"database/sql"
|
||||
"git.gogacoder.ru/NTO/boilerplate/internal/dal"
|
||||
"github.com/ncruces/go-sqlite3"
|
||||
"github.com/ncruces/go-sqlite3/driver"
|
||||
"log"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"app/internal/models"
|
||||
"git.gogacoder.ru/NTO/boilerplate/internal/models"
|
||||
|
||||
"gorm.io/gen"
|
||||
)
|
||||
|
||||
@@ -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: "В Кузбассе начали строить дома выше, чтобы их жители стали ближе к Богу."},
|
||||
})
|
||||
}
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
)
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
package utils
|
||||
|
||||
import (
|
||||
"app/internal/database"
|
||||
"fmt"
|
||||
"git.gogacoder.ru/NTO/boilerplate/internal/database"
|
||||
"gorm.io/gorm/clause"
|
||||
"reflect"
|
||||
)
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
package utils
|
||||
|
||||
import (
|
||||
"app/internal/database"
|
||||
"errors"
|
||||
"fmt"
|
||||
"git.gogacoder.ru/NTO/boilerplate/internal/database"
|
||||
"github.com/kuzgoga/fogg"
|
||||
"golang.org/x/text/language"
|
||||
"golang.org/x/text/message"
|
||||
|
||||
Reference in New Issue
Block a user