Introduce gopkg.in for go module

This change introduces gopkg.in to allow everyone to use multus
code as library. Currently multus-cni uses version 'v3', hence
it hits go modules limitation, as #504 describes.

This change fix #504 with gopkg.in.
This commit is contained in:
Tomofumi Hayashi
2020-05-15 00:54:24 +09:00
committed by Tomofumi Hayashi
parent ec5fd6c923
commit 4eac660359
20 changed files with 49 additions and 43 deletions

View File

@@ -20,7 +20,7 @@ import (
cnitypes "github.com/containernetworking/cni/pkg/types"
"github.com/containernetworking/cni/pkg/types/current"
"github.com/containernetworking/plugins/pkg/ns"
"github.com/intel/multus-cni/logging"
"gopkg.in/intel/multus-cni.v3/logging"
"github.com/vishvananda/netlink"
"net"
"strings"