mirror of
https://gitee.com/johng/gf
synced 2026-06-07 02:12:11 +08:00
add example for package gres
This commit is contained in:
11
os/gres/testdata/example/files/config/config.toml
vendored
Normal file
11
os/gres/testdata/example/files/config/config.toml
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
|
||||
[server]
|
||||
Address = ":8888"
|
||||
ServerRoot = "public"
|
||||
|
||||
[viewer]
|
||||
DefaultFile = "index.tpl"
|
||||
Delimiters = ["${", "}"]
|
||||
|
||||
|
||||
|
||||
1
os/gres/testdata/example/files/public/index.html
vendored
Normal file
1
os/gres/testdata/example/files/public/index.html
vendored
Normal file
@ -0,0 +1 @@
|
||||
Hello!
|
||||
1
os/gres/testdata/example/files/template/index.tpl
vendored
Normal file
1
os/gres/testdata/example/files/template/index.tpl
vendored
Normal file
@ -0,0 +1 @@
|
||||
Hello ${.name}!
|
||||
Reference in New Issue
Block a user