commit 16d58d8202506553b7459c2db005a5f8f4a5ba1e Author: Fritz Heiden Date: Thu Mar 13 13:55:54 2025 +0100 feat: initialize new go project diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..0dad282 --- /dev/null +++ b/build.sh @@ -0,0 +1,4 @@ +#!/bin/bash + +SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" +CGO_ENABLED=1 go build -C "$SCRIPT_DIR/main" -o ../start diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..ba2998d --- /dev/null +++ b/go.mod @@ -0,0 +1,3 @@ +module playback-device-server + +go 1.24.1 diff --git a/main/main.go b/main/main.go new file mode 100644 index 0000000..f7b60bd --- /dev/null +++ b/main/main.go @@ -0,0 +1,7 @@ +package main + +import "fmt" + +func main() { + fmt.Println("Hello, world!") +} diff --git a/start b/start new file mode 100755 index 0000000..097c109 Binary files /dev/null and b/start differ