Replace interface{} with any type alias

This change maintains full backward compatibility while adopting
modern Go type alias conventions for better code clarity.

Signed-off-by: Xiaobo Liu <cppcoffee@gmail.com>
This commit is contained in:
Xiaobo Liu
2025-06-14 16:43:59 +08:00
parent bbb9792ca9
commit eef8d96d36
6 changed files with 21 additions and 21 deletions

View File

@@ -116,6 +116,6 @@ func (l *Loop) Deadline() (deadline time.Time, ok bool) {
}
// Value is not supported for task loops.
func (l *Loop) Value(interface{}) interface{} {
func (l *Loop) Value(any) any {
return nil
}