swig/swig — pull request #261 by steeve (2014-11-05 13:42:55+00:00)
Title: [Go] Do not start getters with Get

Removes the `Get` prefix from getters in Go.

From their style guide: http://golang.org/doc/effective_go.html#Getters

> Go doesn't provide automatic support for getters and setters. There's nothing wrong with providing getters and setters yourself, and it's often appropriate to do so, but it's neither idiomatic nor necessary to put Get into the getter's name. If you have a field called owner (lower case, unexported), the getter method should be called Owner (upper case, exported), not GetOwner. The use of upper-case names for export provides the hook to discriminate the field from the method. A setter function, if needed, will ikely be called SetOwner. Both names read well in practice: