fix: gofmt

This commit is contained in:
song
2025-12-29 18:15:13 +08:00
parent 380c43cb03
commit 42e2c5061d
2 changed files with 4 additions and 5 deletions

View File

@@ -31,7 +31,6 @@ const (
stickySessionTTL = time.Hour // 粘性会话TTL stickySessionTTL = time.Hour // 粘性会话TTL
) )
// sseDataRe matches SSE data lines with optional whitespace after colon. // sseDataRe matches SSE data lines with optional whitespace after colon.
// Some upstream APIs return non-standard "data:" without space (should be "data: "). // Some upstream APIs return non-standard "data:" without space (should be "data: ").
var sseDataRe = regexp.MustCompile(`^data:\s*`) var sseDataRe = regexp.MustCompile(`^data:\s*`)