Closed ghost closed 6 years ago
我找到正确姿势了
package main
import (
"qlang.io/cl/qlang"
_ "qlang.io/lib/builtin"
"qlang.io/lib/eqlang"
)
func main() {
ql := qlang.New()
eql := eqlang.New(ql)
eql.Execute("Hello, <%= strings.ToUpper(name) %>!\n", "", "")
}
工具链和qlang库应该都是最新的
go version go1.10.3 windows/386 git clone https://github.com/qiniu/qlang.git $GOPATH/src/qlang.io
报错信息