render.gno
0.33 Kb · 19 lines
1package deep
2
3// This can't be called from a MsgCall as it isn't crossing.
4func Render(path string) string {
5 if path == "" {
6 return "it works!"
7 } else {
8 return "hi " + path
9 }
10}
11
12// For testing with MsgCall.
13func RenderCrossing(cur realm, path string) string {
14 if path == "" {
15 return "it works!"
16 } else {
17 return "hi " + path
18 }
19}