Created
July 12, 2023 07:26
-
-
Save geberl/ea5fb7d999b3a5999e42b4339996dfda to your computer and use it in GitHub Desktop.
Go scripting, chmod +x script.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
///usr/bin/env go run "$0" "$@"; exit | |
package main | |
import "fmt" | |
func main() { | |
fmt.Println("My first Go script") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment