Skip to content

Commit

Permalink
fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
yuokada committed Feb 22, 2017
1 parent 6b67b3f commit 865d89a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"text/template"
)

var errorTemplates errorTemplate = errorTemplate{template.New("errors-new"),sync.RWMutex{}}
var errorTemplates errorTemplate = errorTemplate{template.New("errors-new"), sync.RWMutex{}}

// template.Template is not thread-safe for writing, so some locking is done
// sync.RWMutex is used for efficiently locking when new templates are created
Expand Down

0 comments on commit 865d89a

Please sign in to comment.