github.com/keysonZZZ/kmg@v0.0.0-20151121023212-05317bfd7d39/kmgView/kmgGoTpl/testFile/test2.go.good (about)

     1  package example
     2  
     3  import (
     4  	"bytes"
     5  )
     6  
     7  func tplTest2() string {
     8  	var _buf bytes.Buffer
     9  	_buf.WriteString(`    <a href="http://www.google.com"></a>`)
    10  	return _buf.String()
    11  }