Permalink
Browse files

hugolib: Use stdlib context package

  • Loading branch information...
GregorioMartinez authored and bep committed Oct 2, 2018
1 parent fae48d7 commit 4b4af2c52e658d516dd4bfaf59fef4f054dabec3
Showing with 2 additions and 4 deletions.
  1. +1 −3 hugolib/page_bundler.go
  2. +1 −1 hugolib/site.go
@@ -14,13 +14,11 @@
package hugolib
import (
"context"
"fmt"
"math"
"runtime"
// Use this until errgroup gets ported to context
// See https://github.com/golang/go/issues/19781
"golang.org/x/net/context"
"golang.org/x/sync/errgroup"
)
@@ -14,6 +14,7 @@
package hugolib
import (
"context"
"errors"
"fmt"
"html/template"
@@ -43,7 +44,6 @@ import (
"github.com/gohugoio/hugo/media"
"github.com/markbates/inflect"
"golang.org/x/net/context"
"github.com/fsnotify/fsnotify"
bp "github.com/gohugoio/hugo/bufferpool"

0 comments on commit 4b4af2c

Please sign in to comment.