How to create a function in Go

1 Answer

0 votes
package main

import "fmt"

func f() {
	fmt.Println("f()")
}

func main() {
	f()
}



/*
run:

f()

*/

 



answered Aug 25, 2020 by avibootz
...