diff --git a/LICENSE b/LICENSE index ef3054a..ca0c7ad 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ BSD 3-Clause License -Copyright (c) 2021, inet.af +Copyright (c) 2021, Tailscale Inc. All rights reserved. Redistribution and use in source and binary forms, with or without diff --git a/go.mod b/go.mod index d23b979..0fa0221 100644 --- a/go.mod +++ b/go.mod @@ -1,5 +1,5 @@ -module inet.af/peercred +module github.com/tailscale/peercred -go 1.14 +go 1.18 require golang.org/x/sys v0.0.0-20210301091718-77cc2087c03b diff --git a/peercred.go b/peercred.go index f84aa9a..5f474e6 100644 --- a/peercred.go +++ b/peercred.go @@ -4,7 +4,7 @@ // Package peercred maps from a net.Conn to information about the // other side of the connection, using various OS-specific facilities. -package peercred // import "inet.af/peercred" +package peercred import ( "errors" diff --git a/peercred_unix_test.go b/peercred_unix_test.go index 2540fdd..9cd4dbb 100644 --- a/peercred_unix_test.go +++ b/peercred_unix_test.go @@ -3,10 +3,8 @@ // license that can be found in the LICENSE file. //go:build go1.15 && (linux || darwin || freebsd) -// +build go1.15 -// +build linux darwin freebsd -package peercred // import "inet.af/peercred" +package peercred import ( "fmt"