1
0
mirror of https://github.com/taigrr/wtf synced 2025-01-18 04:03:14 -08:00

Use the native context package

This commit is contained in:
Chris Cummer 2018-05-28 21:47:26 -07:00
parent a9f60f5fa4
commit 46e9270d84
2 changed files with 2 additions and 2 deletions

View File

@ -6,6 +6,7 @@
package gcal package gcal
import ( import (
"context"
"encoding/json" "encoding/json"
"fmt" "fmt"
"io/ioutil" "io/ioutil"
@ -18,7 +19,6 @@ import (
"time" "time"
"github.com/senorprogrammer/wtf/wtf" "github.com/senorprogrammer/wtf/wtf"
"golang.org/x/net/context"
"golang.org/x/oauth2" "golang.org/x/oauth2"
"golang.org/x/oauth2/google" "golang.org/x/oauth2/google"
"google.golang.org/api/calendar/v3" "google.golang.org/api/calendar/v3"

View File

@ -1,11 +1,11 @@
package github package github
import ( import (
"context"
"net/http" "net/http"
"os" "os"
ghb "github.com/google/go-github/github" ghb "github.com/google/go-github/github"
"golang.org/x/net/context"
"golang.org/x/oauth2" "golang.org/x/oauth2"
) )