first commit

This commit is contained in:
Beyhan Ogur
2026-05-11 15:08:50 +03:00
commit a408821410
47 changed files with 4670 additions and 0 deletions
Executable
+16
View File
@@ -0,0 +1,16 @@
#!/usr/bin/env bash
set -euo pipefail
BINARY="${BINARY:-gateway}"
ENTRYPOINT="${ENTRYPOINT:-./main.go}"
LDFLAGS="${LDFLAGS:--w -s}"
GOOS="${GOOS:-linux}"
echo "=> Building ${BINARY} (CGO_ENABLED=0 GOOS=${GOOS})"
CGO_ENABLED=0 GOOS="${GOOS}" go build \
-ldflags="${LDFLAGS}" \
-o "${BINARY}" \
"${ENTRYPOINT}"
echo "=> Done: ${BINARY}"