moby/libnetwork/internal
Sebastiaan van Stijn 4ff655f4b8
resolvconf: add //go:build directives to prevent downgrading to go1.16 language
Commit 8921897e3b introduced the uses of `clear()`,
which requires go1.21, but Go is downgrading this file to go1.16 when used in
other projects (due to us not yet being a go module);

    0.175 + xx-go build '-gcflags=' -ldflags '-X github.com/moby/buildkit/version.Version=b53a13e -X github.com/moby/buildkit/version.Revision=b53a13e4f5c8d7e82716615e0f23656893df89af -X github.com/moby/buildkit/version.Package=github.com/moby/buildkit -extldflags '"'"'-static'"'" -tags 'osusergo netgo static_build seccomp ' -o /usr/bin/buildkitd ./cmd/buildkitd
    181.8 # github.com/docker/docker/libnetwork/internal/resolvconf
    181.8 vendor/github.com/docker/docker/libnetwork/internal/resolvconf/resolvconf.go:509:2: clear requires go1.21 or later (-lang was set to go1.16; check go.mod)

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-03-18 12:28:21 +01:00
..
caller fix duplicate words (dupwords) 2024-03-07 10:57:03 +01:00
kvstore libnet: Replace DeleteAtomic in retry loops with DeleteIdempotent 2024-02-22 08:22:09 +01:00
netiputil Allow overlapping change in bridge's IPv6 network. 2023-12-18 16:10:41 +00:00
resolvconf resolvconf: add //go:build directives to prevent downgrading to go1.16 language 2024-03-18 12:28:21 +01:00
setmatrix add //go:build directives to prevent downgrading to go1.16 language 2023-12-15 15:24:15 +01:00