mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
Rename to GitHub (#3)
* circle * Rename to github and fn->cli * Rename to github and fn->cli
This commit is contained in:
@@ -3,7 +3,7 @@ package database
|
||||
import (
|
||||
"errors"
|
||||
|
||||
"gitlab-odx.oracle.com/odx/functions/examples/blog/models"
|
||||
"github.com/fnproject/fn/examples/blog/models"
|
||||
"gopkg.in/mgo.v2"
|
||||
"gopkg.in/mgo.v2/bson"
|
||||
)
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package database
|
||||
|
||||
import (
|
||||
"gitlab-odx.oracle.com/odx/functions/examples/blog/models"
|
||||
"github.com/fnproject/fn/examples/blog/models"
|
||||
"gopkg.in/mgo.v2"
|
||||
"gopkg.in/mgo.v2/bson"
|
||||
)
|
||||
|
||||
@@ -5,9 +5,9 @@ import (
|
||||
"fmt"
|
||||
"os"
|
||||
|
||||
"gitlab-odx.oracle.com/odx/functions/examples/blog/database"
|
||||
"gitlab-odx.oracle.com/odx/functions/examples/blog/models"
|
||||
"gitlab-odx.oracle.com/odx/functions/examples/blog/routes"
|
||||
"github.com/fnproject/fn/examples/blog/database"
|
||||
"github.com/fnproject/fn/examples/blog/models"
|
||||
"github.com/fnproject/fn/examples/blog/routes"
|
||||
)
|
||||
|
||||
var noAuth = map[string]interface{}{}
|
||||
|
||||
@@ -5,8 +5,8 @@ import (
|
||||
"fmt"
|
||||
"os"
|
||||
|
||||
"gitlab-odx.oracle.com/odx/functions/examples/blog/database"
|
||||
"gitlab-odx.oracle.com/odx/functions/examples/blog/models"
|
||||
"github.com/fnproject/fn/examples/blog/database"
|
||||
"github.com/fnproject/fn/examples/blog/models"
|
||||
)
|
||||
|
||||
func HandlePostCreate(db *database.Database, auth map[string]interface{}) {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package route
|
||||
|
||||
import (
|
||||
"gitlab-odx.oracle.com/odx/functions/examples/blog/database"
|
||||
"github.com/fnproject/fn/examples/blog/database"
|
||||
"gopkg.in/mgo.v2/bson"
|
||||
)
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ package route
|
||||
import (
|
||||
"os"
|
||||
|
||||
"gitlab-odx.oracle.com/odx/functions/examples/blog/database"
|
||||
"github.com/fnproject/fn/examples/blog/database"
|
||||
)
|
||||
|
||||
func HandlePostRead(db *database.Database, auth map[string]interface{}) {
|
||||
|
||||
@@ -8,8 +8,8 @@ import (
|
||||
"time"
|
||||
|
||||
"github.com/dgrijalva/jwt-go"
|
||||
"gitlab-odx.oracle.com/odx/functions/examples/blog/database"
|
||||
"gitlab-odx.oracle.com/odx/functions/examples/blog/models"
|
||||
"github.com/fnproject/fn/examples/blog/database"
|
||||
"github.com/fnproject/fn/examples/blog/models"
|
||||
"golang.org/x/crypto/bcrypt"
|
||||
)
|
||||
|
||||
|
||||
@@ -6,8 +6,8 @@ import (
|
||||
"html"
|
||||
"net/http"
|
||||
|
||||
"gitlab-odx.oracle.com/odx/functions/api/models"
|
||||
"gitlab-odx.oracle.com/odx/functions/api/server"
|
||||
"github.com/fnproject/fn/api/models"
|
||||
"github.com/fnproject/fn/api/server"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
@@ -8,7 +8,7 @@ import (
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"gitlab-odx.oracle.com/odx/functions/api/server"
|
||||
"github.com/fnproject/fn/api/server"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
package: gitlab-odx.oracle.com/odx/functions/examples/tutorial/hello/go/usingdeps
|
||||
package: github.com/fnproject/fn/examples/tutorial/hello/go/usingdeps
|
||||
import:
|
||||
- package: github.com/sirupsen/logrus
|
||||
|
||||
Reference in New Issue
Block a user