From 71931b30b1813b146aaa60f5cdab16c0f9ebebdb Mon Sep 17 00:00:00 2001 From: satotake Date: Mon, 6 Aug 2018 00:18:13 +0900 Subject: [PATCH] Remove alias of os.Stat --- tpl/os/init.go | 7 ------- 1 file changed, 7 deletions(-) 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 } -- 2.30.2