10 lines
198 B
Go
10 lines
198 B
Go
package context
|
|
|
|
import "context"
|
|
|
|
// Background returns a default context with logger discarded.
|
|
func Background() context.Context {
|
|
ctx := context.Background()
|
|
return WithLoggerDiscarded(ctx)
|
|
}
|