Skip to content

Commit

Permalink
hugolib: Use stdlib context package
Browse files Browse the repository at this point in the history
  • Loading branch information
fuzzzems authored and bep committed Oct 3, 2018
1 parent fae48d7 commit 4b4af2c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions hugolib/page_bundler.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
2 changes: 1 addition & 1 deletion hugolib/site.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
package hugolib

import (
"context"
"errors"
"fmt"
"html/template"
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit 4b4af2c

Please sign in to comment.