diff --git a/cmd/main/main.go b/cmd/main/main.go index 2608b23..6f584a1 100644 --- a/cmd/main/main.go +++ b/cmd/main/main.go @@ -1,3 +1,4 @@ +// Package main is a function demo package main import ( diff --git a/structdoc.go b/structdoc.go index 47e75fb..0fdf625 100644 --- a/structdoc.go +++ b/structdoc.go @@ -7,6 +7,7 @@ import ( "sync" ) +//nolint:revive const ( XMLNS_W = `http://schemas.openxmlformats.org/wordprocessingml/2006/main` XMLNS_R = `http://schemas.openxmlformats.org/officeDocument/2006/relationships` diff --git a/structrel.go b/structrel.go index db3752e..918bf0f 100644 --- a/structrel.go +++ b/structrel.go @@ -4,6 +4,7 @@ import ( "sync" ) +//nolint:revive const ( XMLNS_REL = `http://schemas.openxmlformats.org/package/2006/relationships` REL_HYPERLINK = `http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink`