write a GO program to find factorial of a number using function