refactor: rename timeout ctx

This commit is contained in:
zhaoyupeng
2025-07-15 11:43:15 +08:00
parent d6b0b8ea36
commit 127c57dc3a
2 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@ func Timeout(seconds ...int) (ctx context.Context) {
return
}
func CtxTimeout(ctx context.Context, seconds ...int) context.Context {
func TimeoutCtx(ctx context.Context, seconds ...int) context.Context {
var (
duration time.Duration
)