Hacker News new | ask | show | jobs
by Doublon 3955 days ago
The first one can be shortened for Go:

  package main

  func main() {  
    println("Hello, world!")  
  }
And it looks even more similar to the Swift version.
1 comments

for println() "These functions are documented for completeness but are not guaranteed to stay in the language."

http://golang.org/ref/spec#Bootstrapping