meta/bandwidth: package main so we can build a binary

This commit is contained in:
Gabe Rosenhouse
2018-02-27 22:20:50 -08:00
committed by Gabriel Rosenhouse
parent 59fa37252f
commit 90252c30fb
4 changed files with 5 additions and 6 deletions

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package bandwidth
package main
import (
"encoding/json"

View File

@ -1,5 +1,3 @@
package bandwidth
// Copyright 2018 CNI authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
@ -13,6 +11,7 @@ package bandwidth
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
package main
import (
"bytes"

View File

@ -1,5 +1,3 @@
package bandwidth
// Copyright 2018 CNI authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
@ -14,6 +12,8 @@ package bandwidth
// See the License for the specific language governing permissions and
// limitations under the License.
package main
import (
"fmt"
"net"

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package bandwidth
package main
import (
"crypto/sha1"