-
Notifications
You must be signed in to change notification settings - Fork 0
/
routes.go
77 lines (53 loc) · 1.41 KB
/
routes.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
// GENERATED CODE - DO NOT EDIT
package routes
import "github.com/revel/revel"
type tApp struct {}
var App tApp
func (_ tApp) Home(
) string {
args := make(map[string]string)
return revel.MainRouter.Reverse("App.Home", 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 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
}