本文整理匯總了Golang中github.com/revel/revel.Unbind函數的典型用法代碼示例。如果您正苦於以下問題:Golang Unbind函數的具體用法?Golang Unbind怎麽用?Golang Unbind使用的例子?那麽, 這裏精選的函數代碼示例或許可以為您提供幫助。
在下文中一共展示了Unbind函數的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Golang代碼示例。
示例1: Create
func (_ tRegistrations) Create(
account interface{},
verifyEmail string,
) string {
args := make(map[string]string)
revel.Unbind(args, "account", account)
revel.Unbind(args, "verifyEmail", verifyEmail)
return revel.MainRouter.Reverse("Registrations.Create", args).Url
}
示例2: TaskOperate
func (_ tTasks) TaskOperate(
id string,
task interface{},
) string {
args := make(map[string]string)
revel.Unbind(args, "id", id)
revel.Unbind(args, "task", task)
return revel.MainRouter.Reverse("Tasks.TaskOperate", args).Url
}
示例3: Run
func (_ tTestRunner) Run(
suite string,
test string,
) string {
args := make(map[string]string)
revel.Unbind(args, "suite", suite)
revel.Unbind(args, "test", test)
return revel.MainRouter.Reverse("TestRunner.Run", args).Url
}
示例4: Like
func (_ tLabel) Like(
sid string,
ids string,
) string {
args := make(map[string]string)
revel.Unbind(args, "sid", sid)
revel.Unbind(args, "ids", ids)
return revel.MainRouter.Reverse("Label.Like", args).Url
}
示例5: Operate
func (_ tServers) Operate(
id string,
server interface{},
) string {
args := make(map[string]string)
revel.Unbind(args, "id", id)
revel.Unbind(args, "server", server)
return revel.MainRouter.Reverse("Servers.Operate", args).Url
}
示例6: GetAllStat
func (_ tAdmin) GetAllStat(
sid string,
date string,
) string {
args := make(map[string]string)
revel.Unbind(args, "sid", sid)
revel.Unbind(args, "date", date)
return revel.MainRouter.Reverse("Admin.GetAllStat", args).Url
}
示例7: UnLike
func (_ tTopic) UnLike(
sid string,
id int64,
) string {
args := make(map[string]string)
revel.Unbind(args, "sid", sid)
revel.Unbind(args, "id", id)
return revel.MainRouter.Reverse("Topic.UnLike", args).Url
}
示例8: Complete
func (_ tTasks) Complete(
id int,
complete bool,
) string {
args := make(map[string]string)
revel.Unbind(args, "id", id)
revel.Unbind(args, "complete", complete)
return revel.MainRouter.Reverse("Tasks.Complete", args).Url
}
示例9: DoCheckLeave
func (_ tApp) DoCheckLeave(
id int,
action string,
) string {
args := make(map[string]string)
revel.Unbind(args, "id", id)
revel.Unbind(args, "action", action)
return revel.MainRouter.Reverse("App.DoCheckLeave", args).Url
}
示例10: RoleFunc
func (_ tSystem) RoleFunc(
roleID string,
moduleID string,
) string {
args := make(map[string]string)
revel.Unbind(args, "roleID", roleID)
revel.Unbind(args, "moduleID", moduleID)
return revel.MainRouter.Reverse("System.RoleFunc", args).Url
}
示例11: Login
func (_ tUsers) Login(
login string,
password string,
) string {
args := make(map[string]string)
revel.Unbind(args, "login", login)
revel.Unbind(args, "password", password)
return revel.MainRouter.Reverse("Users.Login", args).Url
}
示例12: Delete
func (_ tAccountGroupController) Delete(
accountId int64,
id int64,
) string {
args := make(map[string]string)
revel.Unbind(args, "accountId", accountId)
revel.Unbind(args, "id", id)
return revel.MainRouter.Reverse("AccountGroupController.Delete", args).Url
}
示例13: One
func (_ tProjectController) One(
accountId int64,
id int64,
) string {
args := make(map[string]string)
revel.Unbind(args, "accountId", accountId)
revel.Unbind(args, "id", id)
return revel.MainRouter.Reverse("ProjectController.One", args).Url
}
示例14: FindByProject
func (_ tDataStreamGroupController) FindByProject(
accountId int64,
projectId int64,
) string {
args := make(map[string]string)
revel.Unbind(args, "accountId", accountId)
revel.Unbind(args, "projectId", projectId)
return revel.MainRouter.Reverse("DataStreamGroupController.FindByProject", args).Url
}
示例15: Login
func (_ tAccount) Login(
username string,
password string,
) string {
args := make(map[string]string)
revel.Unbind(args, "username", username)
revel.Unbind(args, "password", password)
return revel.MainRouter.Reverse("Account.Login", args).Url
}