publisher: Fix golint godoc issue
authorCameron Moore <moorereason@gmail.com>
Thu, 6 Sep 2018 21:05:17 +0000 (16:05 -0500)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Fri, 7 Sep 2018 06:25:51 +0000 (08:25 +0200)
publisher/publisher.go

index de9b03d0d9d6e07980e1174c262d2ee1300d8eaa..0da70546135763a3fd1c2f382d179266f2735704 100644 (file)
@@ -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 {