PageRenderTime 22ms CodeModel.GetById 20ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 0ms

/app/.taglib/m.go

http://github.com/sut-go/gon
Go | 20 lines | 13 code | 4 blank | 3 comment | 1 complexity | 32567c1217a6217f31bf5d2549671673 MD5 | raw file
 1package taglib
 2
 3type Namespace string
 4
 5type MyTagLib struct {
 6    Namespace "m"
 7    AppContext
 8    Writer
 9}
10
11//
12// <m:test/>
13//
14func (m *MyTagLib) Test(b Body, attr Attributes) {
15    m.Write("this is my tag lib.")
16    b.call()
17    for k,v := range attr {
18
19    }    
20}