1
0

Added comments for separator* consts.

This commit is contained in:
Alexander Andreev 2023-09-17 19:18:18 +04:00
parent fea96118bc
commit 4b8ab610d5
Signed by: Arav
GPG Key ID: D22A817D95815393

View File

@ -20,7 +20,11 @@ const (
SongTimeFormat = "2006 15:04-0700" SongTimeFormat = "2006 15:04-0700"
bufferSizePerLine = 512 bufferSizePerLine = 512
// Positions of first and second "|" separator on playlist.log line.
// The third one may float if amount of listeners will be >= 10.
separatorOne = 26 separatorOne = 26
// +1 added to a second one just because it is used only at a start pos of
// a listeners' field, so there's no need to increment it every time.
separatorTwo = 38 + 1 separatorTwo = 38 + 1
) )