From: satotake Date: Sun, 5 Aug 2018 15:18:13 +0000 (+0900) Subject: Remove alias of os.Stat X-Git-Tag: v0.47~38 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=71931b30b1813b146aaa60f5cdab16c0f9ebebdb;p=brevno-suite%2Fhugo Remove alias of os.Stat --- diff --git a/tpl/os/init.go b/tpl/os/init.go index 0b52ddea..3ef8702d 100644 --- a/tpl/os/init.go +++ b/tpl/os/init.go @@ -55,13 +55,6 @@ func init() { }, ) - ns.AddMethodMapping(ctx.Stat, - []string{"fileStat"}, - [][2]string{ - {`{{ (fileStat "files/README.txt").Size }}`, `11`}, - }, - ) - return ns }