mirror of
https://github.com/pion/ice.git
synced 2025-10-17 13:00:37 +08:00
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:
@@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user