Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/go-i18n.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Snyder <nickdsnyder@gmail.com>2019-05-06 23:13:35 +0300
committerNick Snyder <nickdsnyder@gmail.com>2019-05-06 23:13:35 +0300
commit14847a9af8ca81e09347a0e596871bd237c8e1aa (patch)
tree1911998b7ed03fec6d841f55a9cb18308e3cec31
parent70cf5c13667144b18b4dfc835510b9417137a67b (diff)
enable gofmt
-rw-r--r--.golangci.yml3
-rw-r--r--i18n/exampletemplate_test.go3
2 files changed, 5 insertions, 1 deletions
diff --git a/.golangci.yml b/.golangci.yml
index 13e91ad..55e6686 100644
--- a/.golangci.yml
+++ b/.golangci.yml
@@ -3,3 +3,6 @@
service:
prepare:
- go get -t ./...
+linters:
+ enable:
+ - gofmt
diff --git a/i18n/exampletemplate_test.go b/i18n/exampletemplate_test.go
index 9629366..3648bd1 100644
--- a/i18n/exampletemplate_test.go
+++ b/i18n/exampletemplate_test.go
@@ -1,9 +1,10 @@
package i18n_test
import (
- "github.com/nicksnyder/go-i18n/i18n"
"os"
"text/template"
+
+ "github.com/nicksnyder/go-i18n/i18n"
)
var funcMap = map[string]interface{}{