features/module-name #14

Merged
jtom38 merged 9 commits from features/module-name into main 2024-04-05 17:55:07 -07:00
3 changed files with 11 additions and 8 deletions
Showing only changes of commit 935f8f5003 - Show all commits

View File

@ -3,7 +3,8 @@ package repositories
import ( import (
"database/sql" "database/sql"
"errors" "errors"
"go-cook/api/domain"
"git.jamestombleson.com/jtom38/go-cook/api/domain"
) )
type IRecipeTable interface { type IRecipeTable interface {

View File

@ -4,9 +4,10 @@ import (
"database/sql" "database/sql"
"errors" "errors"
"fmt" "fmt"
"go-cook/api/domain"
"time" "time"
"git.jamestombleson.com/jtom38/go-cook/api/domain"
"github.com/huandu/go-sqlbuilder" "github.com/huandu/go-sqlbuilder"
"golang.org/x/crypto/bcrypt" "golang.org/x/crypto/bcrypt"
) )

View File

@ -2,11 +2,12 @@ package repositories_test
import ( import (
"database/sql" "database/sql"
"go-cook/api/domain"
"go-cook/api/repositories"
"log" "log"
"testing" "testing"
"git.jamestombleson.com/jtom38/go-cook/api/repositories"
"git.jamestombleson.com/jtom38/go-cook/api/domain"
"github.com/DATA-DOG/go-sqlmock" "github.com/DATA-DOG/go-sqlmock"
_ "github.com/glebarez/go-sqlite" _ "github.com/glebarez/go-sqlite"
) )