[go-nuts] Exporting and renaming

2019-05-03 Thread Tamás Gulácsi
Rename the struct fields first, then move it to its own package. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For mor

[go-nuts] Exporting and renaming

2019-05-03 Thread michael . f . ellis
I want to make part of my main package into an internal package. It's only one file and I only need to export a single struct type and one function. Seemed easy enough -- just git mv the file to ../internal/ and use GoRename in vim. Problem is that all the struct fields are lowercase and they