[go-nuts] Re: gopls: How to suppress a warning?

2024-02-11 Thread Ernest Micklei
Applying the answer from Robert, you get ``` "gopls": { "ui.diagnostic.analyses": { "composites": false } }, ``` On Friday 23 December 2022 at 09:21:39 UTC+1 Torsten Bronger wrote: > Hallöchen! > > 'Robert Findley' via golang-nuts writes: > > > You can disable the "composites" analyzer:

[go-nuts] [ANN] .proto file (2,3) parser and formatter (protofmt)

2017-02-06 Thread Ernest Micklei
Hi, This package was created to format .proto files but could also be used to write code generators (eg. HTML doc, mocks). https://github.com/emicklei/proto Example from the unittest_proto3_arena.proto // Test messages for packed fields message TestPackedTypes { repeated int32