Rewrite imports to use forks files on gitlab not use githubs.

This commit is contained in:
James
2017-05-16 11:06:32 -07:00
parent 014858143b
commit e4bb04887e
76 changed files with 154 additions and 154 deletions

View File

@@ -3,7 +3,7 @@ package database
import (
"errors"
"github.com/treeder/functions/examples/blog/models"
"gitlab.oracledx.com/odx/functions/examples/blog/models"
"gopkg.in/mgo.v2"
"gopkg.in/mgo.v2/bson"
)

View File

@@ -1,7 +1,7 @@
package database
import (
"github.com/treeder/functions/examples/blog/models"
"gitlab.oracledx.com/odx/functions/examples/blog/models"
"gopkg.in/mgo.v2"
"gopkg.in/mgo.v2/bson"
)

View File

@@ -5,9 +5,9 @@ import (
"fmt"
"os"
"github.com/treeder/functions/examples/blog/database"
"github.com/treeder/functions/examples/blog/models"
"github.com/treeder/functions/examples/blog/routes"
"gitlab.oracledx.com/odx/functions/examples/blog/database"
"gitlab.oracledx.com/odx/functions/examples/blog/models"
"gitlab.oracledx.com/odx/functions/examples/blog/routes"
)
var noAuth = map[string]interface{}{}

View File

@@ -5,8 +5,8 @@ import (
"fmt"
"os"
"github.com/treeder/functions/examples/blog/database"
"github.com/treeder/functions/examples/blog/models"
"gitlab.oracledx.com/odx/functions/examples/blog/database"
"gitlab.oracledx.com/odx/functions/examples/blog/models"
)
func HandlePostCreate(db *database.Database, auth map[string]interface{}) {

View File

@@ -1,7 +1,7 @@
package route
import (
"github.com/treeder/functions/examples/blog/database"
"gitlab.oracledx.com/odx/functions/examples/blog/database"
"gopkg.in/mgo.v2/bson"
)

View File

@@ -3,7 +3,7 @@ package route
import (
"os"
"github.com/treeder/functions/examples/blog/database"
"gitlab.oracledx.com/odx/functions/examples/blog/database"
)
func HandlePostRead(db *database.Database, auth map[string]interface{}) {

View File

@@ -8,8 +8,8 @@ import (
"time"
"github.com/dgrijalva/jwt-go"
"github.com/treeder/functions/examples/blog/database"
"github.com/treeder/functions/examples/blog/models"
"gitlab.oracledx.com/odx/functions/examples/blog/database"
"gitlab.oracledx.com/odx/functions/examples/blog/models"
"golang.org/x/crypto/bcrypt"
)