mirror of
https://github.com/stashapp/stash.git
synced 2025-12-06 08:26:00 +01:00
22 lines
291 B
Go
22 lines
291 B
Go
package utils
|
|
|
|
import (
|
|
"context"
|
|
"time"
|
|
)
|
|
|
|
type ValueOnlyContext struct {
|
|
context.Context
|
|
}
|
|
|
|
func (ValueOnlyContext) Deadline() (deadline time.Time, ok bool) {
|
|
return
|
|
}
|
|
|
|
func (ValueOnlyContext) Done() <-chan struct{} {
|
|
return nil
|
|
}
|
|
|
|
func (ValueOnlyContext) Err() error {
|
|
return nil
|
|
}
|