mirror of
https://github.com/coredns/coredns.git
synced 2025-11-11 06:22:24 -05:00
Run golint and go vet (#276)
Cleanup the errors and removed deadcode along the way. The leaves some error laying around, mostly about commenting exported identifier. We should look hard if those really are needed.
This commit is contained in:
@@ -25,7 +25,7 @@ type dir http.Dir
|
||||
//
|
||||
// CoreDir will default to "$HOME/.coredns" on Unix, but it's location can be overriden with the COREDNSPATH
|
||||
// environment variable.
|
||||
var CoreDir dir = dir(fsPath())
|
||||
var CoreDir = dir(fsPath())
|
||||
|
||||
func (d dir) Zone(z string) dir {
|
||||
if z != "." && z[len(z)-2] == '.' {
|
||||
|
||||
Reference in New Issue
Block a user