Skip to content

Instantly share code, notes, and snippets.

@landaire
Created May 2, 2014 04:52
Show Gist options
  • Save landaire/6896ab636a1edc73eddb to your computer and use it in GitHub Desktop.
Save landaire/6896ab636a1edc73eddb to your computer and use it in GitHub Desktop.
Landers-MacBook-Pro:~ lander$ revel run github.com/revel/revel/samples/booking
~
~ revel! http://revel.github.io
~
INFO 2014/05/01 18:52:08 revel.go:320: Loaded module jobs
INFO 2014/05/01 18:52:08 revel.go:320: Loaded module static
INFO 2014/05/01 18:52:08 revel.go:320: Loaded module testrunner
INFO 2014/05/01 18:52:08 run.go:57: Running Booking example (github.com/revel/revel/samples/booking) in dev mode
TRACE 2014/05/01 18:52:08 run.go:58: Base path: /Users/lander/go/src/github.com/revel/revel/samples/booking
TRACE 2014/05/01 18:52:08 template.go:174: Refreshing templates from [/Users/lander/go/src/github.com/revel/revel/templates]
TRACE 2014/05/01 18:52:08 watcher.go:94: Watching: /Users/lander/go/src/github.com/revel/revel/samples/booking/app
TRACE 2014/05/01 18:52:08 watcher.go:94: Watching: /Users/lander/go/src/github.com/revel/revel/samples/booking/app/controllers
TRACE 2014/05/01 18:52:08 watcher.go:94: Watching: /Users/lander/go/src/github.com/revel/revel/samples/booking/app/jobs
TRACE 2014/05/01 18:52:08 watcher.go:94: Watching: /Users/lander/go/src/github.com/revel/revel/samples/booking/app/models
TRACE 2014/05/01 18:52:08 watcher.go:94: Watching: /Users/lander/go/src/github.com/revel/revel/modules/jobs/app
TRACE 2014/05/01 18:52:08 watcher.go:94: Watching: /Users/lander/go/src/github.com/revel/revel/modules/jobs/app/controllers
TRACE 2014/05/01 18:52:08 watcher.go:94: Watching: /Users/lander/go/src/github.com/revel/revel/modules/jobs/app/jobs
TRACE 2014/05/01 18:52:08 watcher.go:94: Watching: /Users/lander/go/src/github.com/revel/revel/modules/static/app
TRACE 2014/05/01 18:52:08 watcher.go:94: Watching: /Users/lander/go/src/github.com/revel/revel/modules/static/app/controllers
TRACE 2014/05/01 18:52:08 watcher.go:94: Watching: /Users/lander/go/src/github.com/revel/revel/modules/testrunner/app
TRACE 2014/05/01 18:52:08 watcher.go:94: Watching: /Users/lander/go/src/github.com/revel/revel/modules/testrunner/app/controllers
TRACE 2014/05/01 18:52:08 watcher.go:94: Watching: /Users/lander/go/src/github.com/revel/revel/samples/booking/tests
INFO 2014/05/01 18:52:08 harness.go:165: Listening on :9000
TRACE 2014/05/01 18:52:15 harness.go:126: Rebuild
2014/05/01 18:52:15 reflect.go:723: Failed to generate name for field.
0 *ast.CallExpr {
1 . Fun: *ast.SelectorExpr {
2 . . X: *ast.Ident {
3 . . . NamePos: 1044
4 . . . Name: "start"
5 . . . Obj: *ast.Object {
6 . . . . Kind: var
7 . . . . Name: "start"
8 . . . . Decl: *ast.AssignStmt {
9 . . . . . Lhs: []ast.Expr (len = 2) {
10 . . . . . . 0: *ast.Ident {
11 . . . . . . . NamePos: 951
12 . . . . . . . Name: "start"
13 . . . . . . . Obj: *(obj @ 5)
14 . . . . . . }
15 . . . . . . 1: *ast.Ident {
16 . . . . . . . NamePos: 958
17 . . . . . . . Name: "_"
18 . . . . . . . Obj: *ast.Object {
19 . . . . . . . . Kind: var
20 . . . . . . . . Name: "_"
21 . . . . . . . . Decl: *(obj @ 8)
22 . . . . . . . }
23 . . . . . . }
24 . . . . . }
25 . . . . . TokPos: 960
26 . . . . . Tok: :=
27 . . . . . Rhs: []ast.Expr (len = 1) {
28 . . . . . . 0: *ast.CallExpr {
29 . . . . . . . Fun: *ast.SelectorExpr {
30 . . . . . . . . X: *ast.Ident {
31 . . . . . . . . . NamePos: 963
32 . . . . . . . . . Name: "time"
33 . . . . . . . . }
34 . . . . . . . . Sel: *ast.Ident {
35 . . . . . . . . . NamePos: 968
36 . . . . . . . . . Name: "Parse"
37 . . . . . . . . }
38 . . . . . . . }
39 . . . . . . . Lparen: 973
40 . . . . . . . Args: []ast.Expr (len = 2) {
41 . . . . . . . . 0: *ast.BasicLit {
42 . . . . . . . . . ValuePos: 974
43 . . . . . . . . . Kind: STRING
44 . . . . . . . . . Value: "\"15:04\""
45 . . . . . . . . }
46 . . . . . . . . 1: *ast.BasicLit {
47 . . . . . . . . . ValuePos: 983
48 . . . . . . . . . Kind: STRING
49 . . . . . . . . . Value: "\"09:00\""
50 . . . . . . . . }
51 . . . . . . . }
52 . . . . . . . Ellipsis: 0
53 . . . . . . . Rparen: 990
54 . . . . . . }
55 . . . . . }
56 . . . . }
57 . . . }
58 . . }
59 . . Sel: *ast.Ident {
60 . . . NamePos: 1050
61 . . . Name: "Before"
62 . . }
63 . }
64 . Lparen: 1056
65 . Args: []ast.Expr (len = 1) {
66 . . 0: *ast.Ident {
67 . . . NamePos: 1057
68 . . . Name: "end"
69 . . . Obj: *ast.Object {
70 . . . . Kind: var
71 . . . . Name: "end"
72 . . . . Decl: *ast.AssignStmt {
73 . . . . . Lhs: []ast.Expr (len = 2) {
74 . . . . . . 0: *ast.Ident {
75 . . . . . . . NamePos: 993
76 . . . . . . . Name: "end"
77 . . . . . . . Obj: *(obj @ 69)
78 . . . . . . }
79 . . . . . . 1: *ast.Ident {
80 . . . . . . . NamePos: 998
81 . . . . . . . Name: "_"
82 . . . . . . . Obj: *ast.Object {
83 . . . . . . . . Kind: var
84 . . . . . . . . Name: "_"
85 . . . . . . . . Decl: *(obj @ 72)
86 . . . . . . . }
87 . . . . . . }
88 . . . . . }
89 . . . . . TokPos: 1000
90 . . . . . Tok: :=
91 . . . . . Rhs: []ast.Expr (len = 1) {
92 . . . . . . 0: *ast.CallExpr {
93 . . . . . . . Fun: *ast.SelectorExpr {
94 . . . . . . . . X: *ast.Ident {
95 . . . . . . . . . NamePos: 1003
96 . . . . . . . . . Name: "time"
97 . . . . . . . . }
98 . . . . . . . . Sel: *ast.Ident {
99 . . . . . . . . . NamePos: 1008
100 . . . . . . . . . Name: "Parse"
101 . . . . . . . . }
102 . . . . . . . }
103 . . . . . . . Lparen: 1013
104 . . . . . . . Args: []ast.Expr (len = 2) {
105 . . . . . . . . 0: *ast.BasicLit {
106 . . . . . . . . . ValuePos: 1014
107 . . . . . . . . . Kind: STRING
108 . . . . . . . . . Value: "\"15:04\""
109 . . . . . . . . }
110 . . . . . . . . 1: *ast.BasicLit {
111 . . . . . . . . . ValuePos: 1023
112 . . . . . . . . . Kind: STRING
113 . . . . . . . . . Value: "\"08:00\""
114 . . . . . . . . }
115 . . . . . . . }
116 . . . . . . . Ellipsis: 0
117 . . . . . . . Rparen: 1030
118 . . . . . . }
119 . . . . . }
120 . . . . }
121 . . . }
122 . . }
123 . }
124 . Ellipsis: 0
125 . Rparen: 1060
126 }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment