From f20f443acbc9dc9e581380943f42c962f6fc3b60 Mon Sep 17 00:00:00 2001 From: He Li Date: Fri, 1 Nov 2024 07:54:02 +0800 Subject: [PATCH] fix: comment format --- hijack.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hijack.go b/hijack.go index a3d0d911..a02d4f33 100644 --- a/hijack.go +++ b/hijack.go @@ -378,7 +378,7 @@ func (ctx *HijackResponse) SetHeader(pairs ...string) *HijackResponse { return ctx } -// Append key-value pairs to the end of the response headers. +// AddHeader appends key-value pairs to the end of the response headers. // Duplicate keys will be preserved. func (ctx *HijackResponse) AddHeader(pairs ...string) *HijackResponse { for i := 0; i < len(pairs); i += 2 {