netstack: further sequester with own go.mod and go.sum

In order to avoid even the flirtation with passing on these dependencies
to ordinary consumers of wireguard-go, this commit makes a new go.mod
that's entirely separate from the root one.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
Jason A. Donenfeld
2021-01-21 00:24:01 +01:00
parent 1d4eb2727a
commit fcc8ad05df
4 changed files with 400 additions and 376 deletions

1
go.mod
View File

@@ -6,5 +6,4 @@ require (
golang.org/x/crypto v0.0.0-20201221181555-eec23a3978ad
golang.org/x/net v0.0.0-20201224014010-6772e930b67b
golang.org/x/sys v0.0.0-20210105210732-16f7687f5001
gvisor.dev/gvisor v0.0.0-20210109011639-2fb7a49fea98
)