From ebbc7289eb6a7d44f7d20d7003f1417cf73805df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=BA=90=E6=96=87=E9=9B=A8?= <41315874+fumiama@users.noreply.github.com> Date: Thu, 23 Feb 2023 15:32:56 +0800 Subject: [PATCH] make lint happy --- cmd/main/main.go | 1 + structdoc.go | 1 + structrel.go | 1 + 3 files changed, 3 insertions(+) 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`