Languages/Go/Go-Template-HelloWorld.ps.ps1
Template function HelloWorld.go { <# .SYNOPSIS Hello World in Go .DESCRIPTION A Template for Hello World, in Go. #> param( # The message to print. By default, "hello world". [vbn()] [string] $Message = "hello world" ) process { @" package main import "fmt" func main() { fmt.Println("$Message") } "@ } } |