summaryrefslogtreecommitdiffhomepage
path: root/publisher
diff options
context:
space:
mode:
authorCameron Moore <[email protected]>2018-09-06 16:05:17 -0500
committerBjørn Erik Pedersen <[email protected]>2018-09-07 08:25:51 +0200
commitffaa73dc8aa860edb3476b2a460774071b8470a4 (patch)
treede41e1f727e3e84542186e302095cd86b34babc6 /publisher
parentf8d8c85428f527139c20369910230741dcaf2969 (diff)
downloadhugo-ffaa73dc8aa860edb3476b2a460774071b8470a4.tar.gz
hugo-ffaa73dc8aa860edb3476b2a460774071b8470a4.zip
publisher: Fix golint godoc issue
Diffstat (limited to 'publisher')
-rw-r--r--publisher/publisher.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/publisher/publisher.go b/publisher/publisher.go
index de9b03d0d..0da705461 100644
--- a/publisher/publisher.go
+++ b/publisher/publisher.go
@@ -72,6 +72,7 @@ type DestinationPublisher struct {
min minifiers.Client
}
+// NewDestinationPublisher creates a new DestinationPublisher.
func NewDestinationPublisher(fs afero.Fs, outputFormats output.Formats, mediaTypes media.Types, minify bool) DestinationPublisher {
pub := DestinationPublisher{fs: fs}
if minify {