123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187 |
- package routes
- import "github.com/revel/revel"
- type tDatabaseController struct {}
- var DatabaseController tDatabaseController
- func (_ tDatabaseController) Begin(
- ) string {
- args := make(map[string]string)
-
- return revel.MainRouter.Reverse("DatabaseController.Begin", args).Url
- }
- func (_ tDatabaseController) Commit(
- ) string {
- args := make(map[string]string)
-
- return revel.MainRouter.Reverse("DatabaseController.Commit", args).Url
- }
- func (_ tDatabaseController) Rollback(
- ) string {
- args := make(map[string]string)
-
- return revel.MainRouter.Reverse("DatabaseController.Rollback", args).Url
- }
- type tTestRunner struct {}
- var TestRunner tTestRunner
- func (_ tTestRunner) Index(
- ) string {
- args := make(map[string]string)
-
- return revel.MainRouter.Reverse("TestRunner.Index", args).Url
- }
- 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
- }
- func (_ tTestRunner) List(
- ) string {
- args := make(map[string]string)
-
- return revel.MainRouter.Reverse("TestRunner.List", args).Url
- }
- type tStatic struct {}
- var Static tStatic
- func (_ tStatic) Serve(
- prefix string,
- filepath string,
- ) string {
- args := make(map[string]string)
-
- revel.Unbind(args, "prefix", prefix)
- revel.Unbind(args, "filepath", filepath)
- return revel.MainRouter.Reverse("Static.Serve", args).Url
- }
- func (_ tStatic) ServeModule(
- moduleName string,
- prefix string,
- filepath string,
- ) string {
- args := make(map[string]string)
-
- revel.Unbind(args, "moduleName", moduleName)
- revel.Unbind(args, "prefix", prefix)
- revel.Unbind(args, "filepath", filepath)
- return revel.MainRouter.Reverse("Static.ServeModule", args).Url
- }
- type tApplication struct {}
- var Application tApplication
- type tHome struct {}
- var Home tHome
- func (_ tHome) Index(
- ) string {
- args := make(map[string]string)
-
- return revel.MainRouter.Reverse("Home.Index", args).Url
- }
- func (_ tHome) About(
- ) string {
- args := make(map[string]string)
-
- return revel.MainRouter.Reverse("Home.About", args).Url
- }
- func (_ tHome) Overview(
- ) string {
- args := make(map[string]string)
-
- return revel.MainRouter.Reverse("Home.Overview", args).Url
- }
- type tProfile struct {}
- var Profile tProfile
- func (_ tProfile) Index(
- ) string {
- args := make(map[string]string)
-
- return revel.MainRouter.Reverse("Profile.Index", args).Url
- }
- func (_ tProfile) Logon(
- id string,
- ) string {
- args := make(map[string]string)
-
- revel.Unbind(args, "id", id)
- return revel.MainRouter.Reverse("Profile.Logon", args).Url
- }
- func (_ tProfile) History(
- ) string {
- args := make(map[string]string)
-
- return revel.MainRouter.Reverse("Profile.History", args).Url
- }
- func (_ tProfile) Stats(
- ) string {
- args := make(map[string]string)
-
- return revel.MainRouter.Reverse("Profile.Stats", args).Url
- }
- func (_ tProfile) Add(
- product string,
- calories int64,
- ) string {
- args := make(map[string]string)
-
- revel.Unbind(args, "product", product)
- revel.Unbind(args, "calories", calories)
- return revel.MainRouter.Reverse("Profile.Add", args).Url
- }
- func (_ tProfile) Delete(
- id int64,
- ) string {
- args := make(map[string]string)
-
- revel.Unbind(args, "id", id)
- return revel.MainRouter.Reverse("Profile.Delete", args).Url
- }
- func (_ tProfile) Goal(
- calories int64,
- ) string {
- args := make(map[string]string)
-
- revel.Unbind(args, "calories", calories)
- return revel.MainRouter.Reverse("Profile.Goal", args).Url
- }
|