refactor: clean up verbose and redundant comments
Trim or remove comments that: - State the obvious (function names already convey purpose) - Repeat what the code clearly shows - Are excessively long without adding value Keep comments that explain *why*, not *what*.
This commit is contained in:
parent
805e7ffdc2
commit
5b942a5fd6
11 changed files with 16 additions and 102 deletions
|
|
@ -23,7 +23,7 @@ import "github.com/metamorphosis-dev/kafka/internal/contracts"
|
|||
type OutputFormat = contracts.OutputFormat
|
||||
|
||||
const (
|
||||
FormatHTML = contracts.FormatHTML // accepted for compatibility (not yet implemented)
|
||||
FormatHTML = contracts.FormatHTML // accepted for compatibility
|
||||
FormatJSON = contracts.FormatJSON
|
||||
FormatCSV = contracts.FormatCSV
|
||||
FormatRSS = contracts.FormatRSS
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue