things to know about using methods in golang