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

@@ -18,6 +18,11 @@ const (
ElementNode
CommentNode
DoctypeNode
// RawNode nodes are not returned by the parser, but can be part of the
// Node tree passed to func Render to insert raw HTML (without escaping).
// If so, this package makes no guarantee that the rendered HTML is secure
// (from e.g. Cross Site Scripting attacks) or well-formed.
RawNode
scopeMarkerNode
)