Skip to content
This repository has been archived by the owner on Feb 17, 2025. It is now read-only.

Commit

Permalink
lint: adding comment
Browse files Browse the repository at this point in the history
  • Loading branch information
praetoriansentry committed Sep 16, 2024
1 parent 81b5114 commit 45969e7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tools/datastreamer/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -935,7 +935,7 @@ func (h *handler) handleReceivedDataStream(entry *datastreamer.FileEntry, client
}

func printEntry(entry datastreamer.FileEntry, shouldPrintJson bool) {
simpleEntry := make(map[string]any, 0)
simpleEntry := make(map[string]any)

switch entry.Type {
case state.EntryTypeBookMark:
Expand Down Expand Up @@ -1110,6 +1110,7 @@ func printJSON(item any) {
fmt.Println(string(jsonBytes))
}

// ColorfulFieldWidth specifies the padded width of the field name of the colorful output
const ColorfulFieldWidth = 25

func printColorful(entry map[string]any) {
Expand Down

0 comments on commit 45969e7

Please sign in to comment.