Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1bf6bee

Browse files
committed
change package name
1 parent eb3376f commit 1bf6bee

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# lua-resy-template
1+
# lua-resy-tmpl
22
Simple template engine for lua and openresty
33

44
# Methods
File renamed without changes.

t/sanity.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ __DATA__
2727
--- config
2828
location /t {
2929
content_by_lua '
30-
local template = require "resty.template"
30+
local template = require "resty.tmpl"
3131
local t = template.new(ngx.say, true)
3232
t:render([[<h1>{{title}}</h1>]], {title = "TITLE"})
3333
';

test.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
local template = require "lib.resty.template"
1+
local template = require "lib.resty.tmpl"
22

33
local t = template.new()
44
--local t = template.new(io.write, true, {"{{", "}}", "{%%", "%%}"})

0 commit comments

Comments
 (0)