From 71931b30b1813b146aaa60f5cdab16c0f9ebebdb Mon Sep 17 00:00:00 2001 From: satotake Date: Mon, 6 Aug 2018 00:18:13 +0900 Subject: Remove alias of os.Stat --- tpl/os/init.go | 7 ------- 1 file changed, 7 deletions(-) (limited to 'tpl') diff --git a/tpl/os/init.go b/tpl/os/init.go index 0b52ddea2..3ef8702d6 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 } -- cgit v1.2.3