updated
هذا الالتزام موجود في:
13
test-projects/go-test/.gy.json
Normal file
13
test-projects/go-test/.gy.json
Normal file
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"app": "go-test",
|
||||
"project": "go-test",
|
||||
"_app_id": "63e76372-f177-4401-8868-996406084240",
|
||||
"_project_id": "9e724fe9-47d7-4dc3-b669-54294561ca36",
|
||||
"port": 8000,
|
||||
"publicAccess": {
|
||||
"enabled": true,
|
||||
"domain": "go-test-fbcdc461325b.hosted.ghaymah.systems"
|
||||
},
|
||||
"resourceTier": "t1",
|
||||
"_detected": "go"
|
||||
}
|
||||
15
test-projects/go-test/Dockerfile
Normal file
15
test-projects/go-test/Dockerfile
Normal file
@@ -0,0 +1,15 @@
|
||||
# 🔷 Auto-generated Dockerfile for Go
|
||||
# Ghaymah detected:
|
||||
FROM golang:1.22-alpine AS builder
|
||||
|
||||
WORKDIR /app
|
||||
COPY go.mod go.sum* ./
|
||||
RUN go mod download 2>/dev/null || true
|
||||
COPY . .
|
||||
RUN CGO_ENABLED=0 GOOS=linux go build -o /app/bin/app .
|
||||
|
||||
FROM alpine:3.19
|
||||
RUN apk --no-cache add ca-certificates
|
||||
COPY --from=builder /app/bin/app /app
|
||||
EXPOSE 8080
|
||||
CMD ["/app"]
|
||||
ثنائية
test-projects/go-test/Screenshot from 2026-08-20 21-02-56.png
Normal file
ثنائية
test-projects/go-test/Screenshot from 2026-08-20 21-02-56.png
Normal file
ملف ثنائي غير معروض.
|
بعد العرض: | الارتفاع: | الحجم: 95 KiB |
ثنائية
test-projects/go-test/Screenshot from 2026-08-20 21-03-03.png
Normal file
ثنائية
test-projects/go-test/Screenshot from 2026-08-20 21-03-03.png
Normal file
ملف ثنائي غير معروض.
|
بعد العرض: | الارتفاع: | الحجم: 290 KiB |
3
test-projects/go-test/go.mod
Normal file
3
test-projects/go-test/go.mod
Normal file
@@ -0,0 +1,3 @@
|
||||
module go-test
|
||||
|
||||
go 1.22
|
||||
7
test-projects/go-test/main.go
Normal file
7
test-projects/go-test/main.go
Normal file
@@ -0,0 +1,7 @@
|
||||
package main
|
||||
|
||||
import "fmt"
|
||||
|
||||
func main() {
|
||||
fmt.Println("Hello from Go!")
|
||||
}
|
||||
المرجع في مشكلة جديدة
حظر مستخدم