mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-08-31 16:24:03 +03:00
More idioms related to go 1.26
This commit is contained in:
@@ -32,7 +32,7 @@ func (s *streamContext) Err() error {
|
||||
return s.ctx.Err() //nolint: wrapcheck
|
||||
}
|
||||
|
||||
func (s *streamContext) Value(key interface{}) interface{} {
|
||||
func (s *streamContext) Value(key any) any {
|
||||
return s.ctx.Value(key)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user