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,8 +20,12 @@ const (
SongTimeFormat = "2006 15:04-0700" SongTimeFormat = "2006 15:04-0700"
bufferSizePerLine = 512 bufferSizePerLine = 512
separatorOne = 26 // Positions of first and second "|" separator on playlist.log line.
separatorTwo = 38 + 1 // The third one may float if amount of listeners will be >= 10.
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
) )
var ( var (