mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
Rename location.
This commit is contained in:
@@ -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"
|
||||
)
|
||||
|
||||
@@ -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"
|
||||
)
|
||||
|
||||
@@ -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{}{}
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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{}) {
|
||||
|
||||
@@ -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"
|
||||
)
|
||||
|
||||
|
||||
@@ -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{}) {
|
||||
|
||||
@@ -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"
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user