go mode hook function change lmbda to defun