diff options
author | satotake <doublequotation@gmail.com> | 2018-08-05 15:59:29 +0300 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2018-08-06 10:54:26 +0300 |
commit | d40116e5f941e4734ed3bed69dce8ffe11fc76b2 (patch) | |
tree | 897e0277ff7a324973dc05a29d4b83940fb7ef56 /tpl/os/init.go | |
parent | c362634b7d8802ea81b0b4341c800a9f78f7cd7c (diff) |
Renmae FileStat Stat
Diffstat (limited to 'tpl/os/init.go')
-rw-r--r-- | tpl/os/init.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tpl/os/init.go b/tpl/os/init.go index b11e742eb..0b52ddea2 100644 --- a/tpl/os/init.go +++ b/tpl/os/init.go @@ -55,7 +55,7 @@ func init() { }, ) - ns.AddMethodMapping(ctx.FileStat, + ns.AddMethodMapping(ctx.Stat, []string{"fileStat"}, [][2]string{ {`{{ (fileStat "files/README.txt").Size }}`, `11`}, |