mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 18:18:37 +00:00
Remove alias of os.Stat
This commit is contained in:
1 parent
d40116e5f9
commit
71931b30b1
1 file changed
-7
@@ -55,13 +55,6 @@ func init() {
|
|||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
|
||||||
ns.AddMethodMapping(ctx.Stat,
|
|
||||||
[]string{"fileStat"},
|
|
||||||
[][2]string{
|
|
||||||
{`{{ (fileStat "files/README.txt").Size }}`, `11`},
|
|
||||||
},
|
|
||||||
)
|
|
||||||
|
|
||||||
return ns
|
return ns
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user