Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 759 Bytes

README.md

File metadata and controls

23 lines (15 loc) · 759 Bytes

proto-golint

Linter for Go code that uses protobuf messages.

Getters

Reports reading fields of proto message structs without the getter:

internal/test/proto.go:33:3: getters: proto message field read without getter: t.Embedded (proto-golint)
                t.Embedded,

Supports --fix flag to apply the suggested fix directly.

Why?

This is mostly a fun project to learn how to write a linter for Go. Fatih Arslan's blog was a tremendous help in doing that!