mirror of
https://gitee.com/johng/gf
synced 2026-07-09 06:50:30 +08:00
14 lines
181 B
Go
14 lines
181 B
Go
package main
|
|
|
|
|
|
import (
|
|
"fmt"
|
|
"gitee.com/johng/gf/g"
|
|
)
|
|
|
|
func main() {
|
|
v := g.View()
|
|
b, err := v.Parse("test.tpl", nil)
|
|
fmt.Println(err)
|
|
fmt.Println(b)
|
|
} |