fix: keep prisma client in go.mod

This commit is contained in:
Jean Jacques Avril 2025-01-08 19:58:41 +00:00
parent bdfbbe4e1a
commit 2ed0335aa1
No known key found for this signature in database
2 changed files with 11 additions and 1 deletions

View File

@ -31,7 +31,9 @@ if [ -d "backend-go" ]; then
echo "Setting up backend-go..."
(
cd backend-go
go mod tidy
go mod download
#go mod tidy
#go install github.com/steebchen/prisma-client-go@latest
) &
else
echo "backend-go directory not found, skipping..."

8
backend-go/tools.go Normal file
View File

@ -0,0 +1,8 @@
//go:build tools
package tools
import (
// Importiere Prisma Client Go als Tool, nicht als Bibliothek.
_ "github.com/steebchen/prisma-client-go"
)