From 3d8e4e928a847988079515498422c744d3364145 Mon Sep 17 00:00:00 2001 From: flc1125 Date: Wed, 21 May 2025 19:14:09 +0800 Subject: [PATCH] style(context): remove empty lines before GetInt16, GetIntSlice, and GetStringMapString methods - Remove unnecessary empty lines in the context.go file - Improve code readability and consistency Signed-off-by: flc1125 --- context.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/context.go b/context.go index 583836b8..12423186 100644 --- a/context.go +++ b/context.go @@ -319,7 +319,6 @@ func (c *Context) GetInt8(key any) (i8 int8) { return getTyped[int8](c, key) } - // GetInt16 returns the value associated with the key as an integer 16. func (c *Context) GetInt16(key any) (i16 int16) { return getTyped[int16](c, key) @@ -380,7 +379,6 @@ func (c *Context) GetDuration(key any) (d time.Duration) { return getTyped[time.Duration](c, key) } - // GetIntSlice returns the value associated with the key as a slice of integers. func (c *Context) GetIntSlice(key any) (is []int) { return getTyped[[]int](c, key) @@ -454,7 +452,6 @@ func (c *Context) GetStringMap(key any) (sm map[string]any) { return getTyped[map[string]any](c, key) } - // GetStringMapString returns the value associated with the key as a map of strings. func (c *Context) GetStringMapString(key any) (sms map[string]string) { return getTyped[map[string]string](c, key)