Debian Codegraph @

tests/inputs/templ_example.templ

raw
1 package test
2
3 import "time"
4
5 // Line comment
6
7 /*
8 multi
9 line
10 comment
11 */
12
13 templ templ_function() {
14 <div>A div</div>
15 // <div>A commented div</div>
16 /* <div>A multiline commented div </div> */
17 }
18
19 func golang_function() {
20 a := 5
21 // a = 6
22 /*
23 a = 7
24 */
25 }