Skip to content

Commit

Permalink
Minor readability improvement and gofmt
Browse files Browse the repository at this point in the history
  • Loading branch information
rakyll committed Nov 1, 2019
1 parent 06a8a35 commit c1e3914
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions statik.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,7 @@ import (
"time"
)

const (
nameSourceFile = "statik.go"
)
const nameSourceFile = "statik.go"

var namePackage string

Expand All @@ -46,7 +44,7 @@ var (
flagTags = flag.String("tags", "", "Write build constraint tags")
flagPkg = flag.String("p", "statik", "Name of the generated package")
flagPkgCmt = flag.String("c", "Package statik contains static assets.", "The package comment. An empty value disables this comment.\n")
flagInclude = flag.String("include", "*.*", "The patterns of files to be included (by comma separated).\n")
flagInclude = flag.String("include", "*.*", "The patterns of files to be included (by comma separated).\n")
)

// mtimeDate holds the arbitrary mtime that we assign to files when
Expand Down

0 comments on commit c1e3914

Please sign in to comment.