replace beego.me with beego.vip

This commit is contained in:
Deng Ming
2021-11-29 21:29:29 +08:00
parent 1fe29f3787
commit 3e886f71ca
52 changed files with 79 additions and 79 deletions

View File

@@ -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 (

View File

@@ -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 (

View File

@@ -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 (

View File

@@ -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 (

View File

@@ -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 (

View File

@@ -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 (

View File

@@ -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 (

View File

@@ -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 (

View File

@@ -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 (

View File

@@ -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

View File

@@ -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 (

View File

@@ -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 (

View File

@@ -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 (

View File

@@ -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 (

View File

@@ -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 (

View File

@@ -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 (

View File

@@ -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 (

View File

@@ -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 (

View File

@@ -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...)
}

View File

@@ -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 (

View File

@@ -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

View File

@@ -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 (