func context.Background

71 uses

	context (current package)
		context.go#L215: func Background() Context {

	crypto/tls
		conn.go#L1298: 	if c.handshakeErr = c.clientHandshake(context.Background()); c.handshakeErr == nil {
		conn.go#L1499: 	return c.HandshakeContext(context.Background())
		tls.go#L131: 	return dial(context.Background(), dialer, network, addr, config)
		tls.go#L211: 	return d.DialContext(context.Background(), network, addr)

	github.com/robfig/cron/v3
		cron.go#L330: 	ctx, cancel := context.WithCancel(context.Background())

	go.pact.im/x/supervisor
		group.go#L78: 		ctx = context.Background()

	golang.org/x/net/http2
		server.go#L356: 	return context.Background()
		transport.go#L871: 	ctx, cancel := context.WithTimeout(context.Background(), pingTimeout)

	golang.org/x/tools/go/packages
		golist.go#L143: 		parentCtx = context.Background()
		packages.go#L740: 		ld.Context = context.Background()

	google.golang.org/grpc
		clientconn.go#L154: 	cc.ctx, cc.cancel = context.WithCancel(context.Background())
		clientconn.go#L225: 	return DialContext(context.Background(), target, opts...)
		server.go#L989: 		s.serveStreams(context.Background(), st, rawConn)

	google.golang.org/grpc/internal/resolver/dns
		dns_resolver.go#L133: 	ctx, cancel := context.WithCancel(context.Background())

	log/slog
		logger.go#L87: 	if !w.h.Enabled(context.Background(), level) {
		logger.go#L102: 	return origLen, w.h.Handle(context.Background(), r)
		logger.go#L166: 		ctx = context.Background()
		logger.go#L199: 	l.log(context.Background(), LevelDebug, msg, args...)
		logger.go#L209: 	l.log(context.Background(), LevelInfo, msg, args...)
		logger.go#L219: 	l.log(context.Background(), LevelWarn, msg, args...)
		logger.go#L229: 	l.log(context.Background(), LevelError, msg, args...)
		logger.go#L242: 		ctx = context.Background()
		logger.go#L262: 		ctx = context.Background()
		logger.go#L281: 	Default().log(context.Background(), LevelDebug, msg, args...)
		logger.go#L291: 	Default().log(context.Background(), LevelInfo, msg, args...)
		logger.go#L301: 	Default().log(context.Background(), LevelWarn, msg, args...)
		logger.go#L311: 	Default().log(context.Background(), LevelError, msg, args...)

	net
		dial.go#L504: 	return d.DialContext(context.Background(), network, address)
		dial.go#L898: 	return lc.Listen(context.Background(), network, address)
		dial.go#L928: 	return lc.ListenPacket(context.Background(), network, address)
		iprawsock.go#L78: 	afnet, _, err := parseNetwork(context.Background(), network, false)
		iprawsock.go#L87: 	addrs, err := DefaultResolver.internetAddrList(context.Background(), afnet, address)
		iprawsock.go#L213: 	c, err := sd.dialIP(context.Background(), laddr, raddr)
		iprawsock.go#L232: 	c, err := sl.listenIP(context.Background(), laddr)
		lookup.go#L188: 	return DefaultResolver.LookupHost(context.Background(), host)
		lookup.go#L207: 	addrs, err := DefaultResolver.LookupIPAddr(context.Background(), host)
		lookup.go#L300: 	return &onlyValuesCtx{Context: context.Background(), lookupValues: lookupCtx}
		lookup.go#L409: 	return DefaultResolver.LookupPort(context.Background(), network, service)
		lookup.go#L453: 	return DefaultResolver.LookupCNAME(context.Background(), host)
		lookup.go#L495: 	return DefaultResolver.LookupSRV(context.Background(), service, proto, name)
		lookup.go#L546: 	return DefaultResolver.LookupMX(context.Background(), name)
		lookup.go#L591: 	return DefaultResolver.LookupNS(context.Background(), name)
		lookup.go#L629: 	return DefaultResolver.lookupTXT(context.Background(), name)
		lookup.go#L653: 	return DefaultResolver.LookupAddr(context.Background(), addr)
		tcpsock.go#L92: 	addrs, err := DefaultResolver.internetAddrList(context.Background(), network, address)
		tcpsock.go#L332: 		c, err = sd.dialMPTCP(context.Background(), laddr, raddr)
		tcpsock.go#L334: 		c, err = sd.dialTCP(context.Background(), laddr, raddr)
		tcpsock.go#L458: 		ln, err = sl.listenMPTCP(context.Background(), laddr)
		tcpsock.go#L460: 		ln, err = sl.listenTCP(context.Background(), laddr)
		udpsock.go#L92: 	addrs, err := DefaultResolver.internetAddrList(context.Background(), network, address)
		udpsock.go#L297: 	c, err := sd.dialUDP(context.Background(), laddr, raddr)
		udpsock.go#L323: 	c, err := sl.listenUDP(context.Background(), laddr)
		udpsock.go#L360: 	c, err := sl.listenMulticastUDP(context.Background(), ifi, gaddr)
		unixsock.go#L210: 	c, err := sd.dialUnix(context.Background(), laddr, raddr)
		unixsock.go#L327: 	ln, err := sl.listenUnix(context.Background(), laddr)
		unixsock.go#L347: 	c, err := sl.listenUnixgram(context.Background(), laddr)

	net/http
		h2_bundle.go#L4336: 	return context.Background()
		h2_bundle.go#L8200: 	ctx, cancel := cc.t.contextWithTimeout(context.Background(), pingTimeout)
		request.go#L356: 	return context.Background()
		request.go#L863: 	return NewRequestWithContext(context.Background(), method, url, body)
		server.go#L3451: 	baseCtx := context.Background()
		socks_bundle.go#L36: 	if ctx != context.Background() {
		socks_bundle.go#L374: 		c, err = d.ProxyDial(context.Background(), d.proxyNetwork, d.proxyAddress)
		socks_bundle.go#L382: 	if _, err := d.DialWithConn(context.Background(), c, network, address); err != nil {

	testing
		benchmark.go#L200: 	ctx, cancelCtx := context.WithCancel(context.Background())
		fuzz.go#L517: 				ctx, cancelCtx := context.WithCancel(context.Background())
		fuzz.go#L603: 	ctx, cancelCtx := context.WithCancel(context.Background())
		testing.go#L1969: 	ctx, cancelCtx := context.WithCancel(context.Background())
		testing.go#L2029: 	ctx, cancelCtx := context.WithCancel(context.Background())
		testing.go#L2459: 			ctx, cancelCtx := context.WithCancel(context.Background())