Move singleflight out of middleware/ (#217)

It is not middleware, so move it up one level. It was also use from
core/ showing that indeed its use is not limited to middlewares.
This commit is contained in:
Miek Gieben
2016-08-16 09:24:37 -07:00
committed by GitHub
parent 9aaeef6376
commit 21ddfe8290
6 changed files with 4 additions and 4 deletions

View File

@@ -4,7 +4,7 @@ import (
"time"
"github.com/miekg/coredns/middleware"
"github.com/miekg/coredns/middleware/singleflight"
"github.com/miekg/coredns/singleflight"
"github.com/miekg/dns"
gcache "github.com/patrickmn/go-cache"