Rename location.

This commit is contained in:
Travis Reeder
2017-05-15 11:00:15 -07:00
parent c0b381eb96
commit 4b9bba352d
106 changed files with 274 additions and 273 deletions

View File

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

View File

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

View File

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

View File

@@ -1,4 +1,4 @@
package: github.com/kumokit/functions/examples/blog
package: github.com/treeder/functions/examples/blog
import:
- package: github.com/dgrijalva/jwt-go
version: ^3.0.0

View File

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

View File

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

View File

@@ -3,7 +3,7 @@ package route
import (
"os"
"github.com/kumokit/functions/examples/blog/database"
"github.com/treeder/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/kumokit/functions/examples/blog/database"
"github.com/kumokit/functions/examples/blog/models"
"github.com/treeder/functions/examples/blog/database"
"github.com/treeder/functions/examples/blog/models"
"golang.org/x/crypto/bcrypt"
)