Skip to content

sockets_unix.go:24:28: undefined: context #60

@romantomchak

Description

@romantomchak

Hi,

After last update an issue appear during my application compilation:

sockets_unix.go:24:28: undefined: context

in sockets_unix.go you are using context.Context but context package is not imported.

usage:

tr.DialContext = func(ctx context.Context, _, _ string) (net.Conn, error) {
    return dialer.DialContext(ctx, proto, addr)
}

import:

import (
	"fmt"
	"net"
	"net/http"
	"syscall"
	"time"
)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions