From 04dd3c2e5587f5318b82297e44e868b0e51e3b81 Mon Sep 17 00:00:00 2001 From: Chris Cummer Date: Mon, 28 May 2018 21:47:26 -0700 Subject: [PATCH] Use the native context package --- gcal/client.go | 2 +- github/github_repo.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gcal/client.go b/gcal/client.go index 50e9179a..de655620 100644 --- a/gcal/client.go +++ b/gcal/client.go @@ -6,6 +6,7 @@ package gcal import ( + "context" "encoding/json" "fmt" "io/ioutil" @@ -18,7 +19,6 @@ import ( "time" "github.com/senorprogrammer/wtf/wtf" - "golang.org/x/net/context" "golang.org/x/oauth2" "golang.org/x/oauth2/google" "google.golang.org/api/calendar/v3" diff --git a/github/github_repo.go b/github/github_repo.go index 1d93cf27..df3644d2 100644 --- a/github/github_repo.go +++ b/github/github_repo.go @@ -1,11 +1,11 @@ package github import ( + "context" "net/http" "os" ghb "github.com/google/go-github/github" - "golang.org/x/net/context" "golang.org/x/oauth2" )