/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
- package taglib
- type Namespace string
- type MyTagLib struct {
- Namespace "m"
- AppContext
- Writer
- }
- //
- // <m:test/>
- //
- func (m *MyTagLib) Test(b Body, attr Attributes) {
- m.Write("this is my tag lib.")
- b.call()
- for k,v := range attr {
- }
- }