I want to use fieldaligment in own code (mostly i want to align automatic struct fields in generated code). Also i want to reformat generated protobuf code via own tool. I can run fieldaligment.Analyzer but can't set -fix flag because it provided in internal package
go/analysis/internal/checker/checker.go i'm also create golang protobuf issue about field alignment because sometimes generated structs have 3x memory usage vs properly aligned struct. What can you suggests ? I don't think that golang protobuf devs fix this in near feature.. or i'm wrong? Vasiliy Tolstov, e-mail: v.tols...@selfip.ru -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/CACaajQuvQxfaQELJXsrz0X00f6Kvvx89CD77VOvmYu8X7GStwg%40mail.gmail.com.