What do you want to save?
Add Code snippet
New code examples
-
Go 2021-10-03 20:07:03
golang function
// a simple function func functionName() {} // function with parameters (again, types go after identifiers) func functionName(param1 string, param2 int) {} // multiple parameters of the same type func functionName(param1, param2 int) {} // return type ... Add solution -
Go 2021-09-06 05:59:02
go functions
// a simple function func functionName() {} // function with parameters (again, types go after identifiers) func functionName(param1 string, param2 int) {} // multiple parameters of the same type func functionName(param1, param2 int) {} // return type ... Add solution