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

@@ -134,6 +134,9 @@ func render1(w writer, n *Node) error {
}
}
return w.WriteByte('>')
case RawNode:
_, err := w.WriteString(n.Data)
return err
default:
return errors.New("html: unknown node type")
}