replace beego.me with beego.vip
This commit is contained in:
2
adapter/cache/cache.go
vendored
2
adapter/cache/cache.go
vendored
@@ -28,7 +28,7 @@
|
||||
// bm.IsExist("astaxie")
|
||||
// bm.Delete("astaxie")
|
||||
//
|
||||
// more docs http://beego.me/docs/module/cache.md
|
||||
// more docs http://beego.vip/docs/module/cache.md
|
||||
package cache
|
||||
|
||||
import (
|
||||
|
||||
2
adapter/cache/memcache/memcache.go
vendored
2
adapter/cache/memcache/memcache.go
vendored
@@ -26,7 +26,7 @@
|
||||
//
|
||||
// bm, err := cache.NewCache("memcache", `{"conn":"127.0.0.1:11211"}`)
|
||||
//
|
||||
// more docs http://beego.me/docs/module/cache.md
|
||||
// more docs http://beego.vip/docs/module/cache.md
|
||||
package memcache
|
||||
|
||||
import (
|
||||
|
||||
2
adapter/cache/redis/redis.go
vendored
2
adapter/cache/redis/redis.go
vendored
@@ -26,7 +26,7 @@
|
||||
//
|
||||
// bm, err := cache.NewCache("redis", `{"conn":"127.0.0.1:11211"}`)
|
||||
//
|
||||
// more docs http://beego.me/docs/module/cache.md
|
||||
// more docs http://beego.vip/docs/module/cache.md
|
||||
package redis
|
||||
|
||||
import (
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
// cnf.DIY(key string) (interface{}, error)
|
||||
// cnf.GetSection(section string) (map[string]string, error)
|
||||
// cnf.SaveConfigFile(filename string) error
|
||||
// More docs http://beego.me/docs/module/config.md
|
||||
// More docs http://beego.vip/docs/module/config.md
|
||||
package config
|
||||
|
||||
import (
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
//
|
||||
// cnf, err := config.NewConfig("xml", "config.xml")
|
||||
//
|
||||
// More docs http://beego.me/docs/module/config.md
|
||||
// More docs http://beego.vip/docs/module/config.md
|
||||
package xml
|
||||
|
||||
import (
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
//
|
||||
// cnf, err := config.NewConfig("yaml", "config.yaml")
|
||||
//
|
||||
// More docs http://beego.me/docs/module/config.md
|
||||
// More docs http://beego.vip/docs/module/config.md
|
||||
package yaml
|
||||
|
||||
import (
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
//
|
||||
// ctx := context.Context{Request:req,ResponseWriter:rw}
|
||||
//
|
||||
// more docs http://beego.me/docs/module/context.md
|
||||
// more docs http://beego.vip/docs/module/context.md
|
||||
package context
|
||||
|
||||
import (
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
//
|
||||
// import "github.com/beego/beego/v2/client/httplib"
|
||||
//
|
||||
// b := httplib.Post("http://beego.me/")
|
||||
// b := httplib.Post("http://beego.vip/")
|
||||
// b.Param("username","astaxie")
|
||||
// b.Param("password","123456")
|
||||
// b.PostFile("uploadfile1", "httplib.pdf")
|
||||
@@ -28,7 +28,7 @@
|
||||
// }
|
||||
// fmt.Println(str)
|
||||
//
|
||||
// more docs http://beego.me/docs/module/httplib.md
|
||||
// more docs http://beego.vip/docs/module/httplib.md
|
||||
package httplib
|
||||
|
||||
import (
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
// log.Debug("debug")
|
||||
// log.Critical("critical")
|
||||
//
|
||||
// more docs http://beego.me/docs/module/logs.md
|
||||
// more docs http://beego.vip/docs/module/logs.md
|
||||
package logs
|
||||
|
||||
import (
|
||||
|
||||
@@ -51,7 +51,7 @@ func oldToNewLinkNs(params []LinkNamespace) []web.LinkNamespace {
|
||||
// if cond return true can run this namespace, else can't
|
||||
// usage:
|
||||
// ns.Cond(func (ctx *context.Context) bool{
|
||||
// if ctx.Input.Domain() == "api.beego.me" {
|
||||
// if ctx.Input.Domain() == "api.beego.vip" {
|
||||
// return true
|
||||
// }
|
||||
// return false
|
||||
|
||||
@@ -50,7 +50,7 @@
|
||||
// num, err = o.Delete(&u)
|
||||
// }
|
||||
//
|
||||
// more docs: http://beego.me/docs/mvc/model/overview.md
|
||||
// more docs: http://beego.vip/docs/mvc/model/overview.md
|
||||
package orm
|
||||
|
||||
import (
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
// go globalSessions.GC()
|
||||
// }
|
||||
//
|
||||
// more docs: http://beego.me/docs/module/session.md
|
||||
// more docs: http://beego.vip/docs/module/session.md
|
||||
package couchbase
|
||||
|
||||
import (
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
// go globalSessions.GC()
|
||||
// }
|
||||
//
|
||||
// more docs: http://beego.me/docs/module/session.md
|
||||
// more docs: http://beego.vip/docs/module/session.md
|
||||
package memcache
|
||||
|
||||
import (
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
// go globalSessions.GC()
|
||||
// }
|
||||
//
|
||||
// more docs: http://beego.me/docs/module/session.md
|
||||
// more docs: http://beego.vip/docs/module/session.md
|
||||
package mysql
|
||||
|
||||
import (
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
// go globalSessions.GC()
|
||||
// }
|
||||
//
|
||||
// more docs: http://beego.me/docs/module/session.md
|
||||
// more docs: http://beego.vip/docs/module/session.md
|
||||
package postgres
|
||||
|
||||
import (
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
// go globalSessions.GC()
|
||||
// }
|
||||
//
|
||||
// more docs: http://beego.me/docs/module/session.md
|
||||
// more docs: http://beego.vip/docs/module/session.md
|
||||
package redis
|
||||
|
||||
import (
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
// go globalSessions.GC()
|
||||
// }
|
||||
//
|
||||
// more docs: http://beego.me/docs/module/session.md
|
||||
// more docs: http://beego.vip/docs/module/session.md
|
||||
package redis_cluster
|
||||
|
||||
import (
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
// go globalSessions.GC()
|
||||
// }
|
||||
//
|
||||
// more docs: http://beego.me/docs/module/session.md
|
||||
// more docs: http://beego.vip/docs/module/session.md
|
||||
package session
|
||||
|
||||
import (
|
||||
|
||||
@@ -106,7 +106,7 @@ func Htmlunquote(text string) string {
|
||||
// /login?next=/
|
||||
// /user/John%20Doe
|
||||
//
|
||||
// more detail http://beego.me/docs/mvc/controller/urlbuilding.md
|
||||
// more detail http://beego.vip/docs/mvc/controller/urlbuilding.md
|
||||
func URLFor(endpoint string, values ...interface{}) string {
|
||||
return web.URLFor(endpoint, values...)
|
||||
}
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
//
|
||||
// AddHealthCheck("database",&DatabaseCheck{})
|
||||
//
|
||||
// more docs: http://beego.me/docs/module/toolbox.md
|
||||
// more docs: http://beego.vip/docs/module/toolbox.md
|
||||
package toolbox
|
||||
|
||||
import (
|
||||
|
||||
@@ -52,7 +52,7 @@ In your view templates:
|
||||
|
||||
See also
|
||||
|
||||
http://beego.me/docs/mvc/view/page.md
|
||||
http://beego.vip/docs/mvc/view/page.md
|
||||
|
||||
*/
|
||||
package pagination
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
// }
|
||||
// }
|
||||
//
|
||||
// more info: http://beego.me/docs/mvc/controller/validation.md
|
||||
// more info: http://beego.vip/docs/mvc/controller/validation.md
|
||||
package validation
|
||||
|
||||
import (
|
||||
|
||||
Reference in New Issue
Block a user