Skip to content

Instantly share code, notes, and snippets.

@dacr
Created March 28, 2025 09:01
Show Gist options
  • Save dacr/7487186ed680f34e0f8d2b46c43172b5 to your computer and use it in GitHub Desktop.
Save dacr/7487186ed680f34e0f8d2b46c43172b5 to your computer and use it in GitHub Desktop.
go hello world script / published by https://github.com/dacr/code-examples-manager #bc3fdb00-eb6d-4a1a-b410-3367252a4b4c/10b991cdadcfefec20afba8e9ffdf3314afa6cf7
/*?sr/bin/true; exec /usr/bin/env nix-shell -p go --run "go run $0" #*/
// summary : go hello world script
// keywords : go, hello-world, @testable
// publish : gist
// authors : David Crosson
// license : Apache NON-AI License Version 2.0 (https://raw.githubusercontent.com/non-ai-licenses/non-ai-licenses/main/NON-AI-APACHE2)
// id : bc3fdb00-eb6d-4a1a-b410-3367252a4b4c
// created-on : 2025-03-06T15:03:30+01:00
// managed-by : https://github.com/dacr/code-examples-manager
// run-with : nix-shell -p go --run "go run $file"
package main
import "fmt"
func main() {
fmt.Println("Hello, Scripting in Go!")
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment