Fix Gofmt
diff --git a/cmd/fmtserver/main.go b/cmd/fmtserver/main.go
index c726ddb..03e3222 100644
--- a/cmd/fmtserver/main.go
+++ b/cmd/fmtserver/main.go
@@ -41,6 +41,7 @@
var err error
s.JavaJar = *java
s.Buildifier = *buildifier
+ s.Gofmt = *gofmt
if err != nil {
log.Fatal(err)
}
diff --git a/server.go b/server.go
index 7220aa0..f488d95 100644
--- a/server.go
+++ b/server.go
@@ -30,6 +30,7 @@
type Server struct {
JavaJar string
Buildifier string
+ Gofmt string
languageRegex map[string]*regexp.Regexp
formatterMap map[string]formatterFunc
}