Documentation ¶
Overview ¶
package rename tests changing the names of methods and functions
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AutoRenamedFunc ¶ added in v0.4.3
func AutoRenamedFunc()
I should be renamed to auto_renamed_func, when generated with -rename flag
Types ¶
type MyStruct ¶
type MyStruct struct { // I should be renamed to auto_renamed_property // when generated with -rename flag AutoRenamedProperty string // I should be renamed to custom_name with the custom option AutoRenamedProperty2 string `gopy:"custom_name"` }
MyStruct has two fields
func (*MyStruct) AutoRenamedMeth ¶ added in v0.4.3
func (s *MyStruct) AutoRenamedMeth()
I should be renamed to auto_renamed_meth, when generated with -rename flag
func (*MyStruct) SaySomethingFunc ¶ added in v0.4.3
A method that says something gopy:name say_something
Click to show internal directories.
Click to hide internal directories.