This language bar is your friend. Select your favorite languages!
Edit summary for version 26 :
[Go] Comment syntax

Version 25

Version 26

Idiom #3 Create a procedure

Like a function which doesn't return any value, thus has only side effects (e.g. Print to standard output)

Idiom #3 Create a procedure

Like a function which doesn't return any value, thus has only side effects (e.g. Print to standard output)

Imports
import "fmt"
Imports
import "fmt"
Code
func finish(name string) {
  fmt.Println("My job here is done. Good bye " + name)
}
Code
func finish(name string) {
  fmt.Println("My job here is done. Good bye " + name)
}
Comments bubble
There is no return type in the signature, before the _{ .
Comments bubble
There is no return type in the signature, before the { .
Demo URL
http://play.golang.org/p/NSbp6jceZH
Demo URL
http://play.golang.org/p/NSbp6jceZH