fix: keep prisma client in go.mod
This commit is contained in:
parent
bdfbbe4e1a
commit
2ed0335aa1
@ -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
8
backend-go/tools.go
Normal 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"
|
||||
)
|
Loading…
x
Reference in New Issue
Block a user