From 7a39e0e685625d306f0037d0b126554592d51249 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Tue, 17 May 2016 21:52:27 -0700 Subject: [PATCH] Actually name the package correctly, so that it can be imported. --- dhcp4/conn.go | 2 +- dhcp4/conn_linux.go | 2 +- dhcp4/conn_test.go | 2 +- dhcp4/doc.go | 2 +- dhcp4/options.go | 2 +- dhcp4/options_test.go | 2 +- dhcp4/packet.go | 2 +- dhcp4/packet_test.go | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/dhcp4/conn.go b/dhcp4/conn.go index 3d82025..d294df9 100644 --- a/dhcp4/conn.go +++ b/dhcp4/conn.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package dhcp +package dhcp4 import ( "errors" diff --git a/dhcp4/conn_linux.go b/dhcp4/conn_linux.go index 8537949..d7f4654 100644 --- a/dhcp4/conn_linux.go +++ b/dhcp4/conn_linux.go @@ -14,7 +14,7 @@ //+build linux -package dhcp +package dhcp4 import ( "encoding/binary" diff --git a/dhcp4/conn_test.go b/dhcp4/conn_test.go index 087aeae..560fe3b 100644 --- a/dhcp4/conn_test.go +++ b/dhcp4/conn_test.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package dhcp +package dhcp4 import ( "net" diff --git a/dhcp4/doc.go b/dhcp4/doc.go index 69d50f9..cd83315 100644 --- a/dhcp4/doc.go +++ b/dhcp4/doc.go @@ -13,4 +13,4 @@ // limitations under the License. // Package dhcp provides building blocks for DHCP clients and servers. -package dhcp // import "go.universe.tf/netboot/dhcp4" +package dhcp4 // import "go.universe.tf/netboot/dhcp4" diff --git a/dhcp4/options.go b/dhcp4/options.go index 76ae151..5ac2fa6 100644 --- a/dhcp4/options.go +++ b/dhcp4/options.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package dhcp +package dhcp4 import ( "bytes" diff --git a/dhcp4/options_test.go b/dhcp4/options_test.go index 22444ed..59fc77a 100644 --- a/dhcp4/options_test.go +++ b/dhcp4/options_test.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package dhcp +package dhcp4 import ( "net" diff --git a/dhcp4/packet.go b/dhcp4/packet.go index 6d0462c..eca35b6 100644 --- a/dhcp4/packet.go +++ b/dhcp4/packet.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package dhcp +package dhcp4 import ( "bytes" diff --git a/dhcp4/packet_test.go b/dhcp4/packet_test.go index 14361f8..a5221eb 100644 --- a/dhcp4/packet_test.go +++ b/dhcp4/packet_test.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package dhcp +package dhcp4 import ( "bytes"