[vtable] Rename Context to SQLiteContext

To not conflict with core "context" package naming.
This commit is contained in:
Conor Branagan
2017-03-04 18:15:00 -05:00
parent 618e784627
commit 9efa963d05
4 changed files with 14 additions and 14 deletions

View File

@@ -3,7 +3,7 @@ package main
import (
"encoding/json"
"fmt"
"github.com/mattn/go-sqlite3"
"github.com/DataDog/go-sqlite3"
"io/ioutil"
"net/http"
)
@@ -73,7 +73,7 @@ type ghRepoCursor struct {
repos []GithubRepo
}
func (vc *ghRepoCursor) Column(c *sqlite3.Context, col int) error {
func (vc *ghRepoCursor) Column(c *sqlite3.SQLiteContext, col int) error {
switch col {
case 0:
c.ResultInt(vc.repos[vc.index].ID)