1 Star 0 Fork 1

landy / qlang

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
ioutil.go 709 Bytes
一键复制 编辑 原始数据 按行查看 历史
xushiwei 提交于 2016-05-21 14:48 . #71 gomodule._name
package ioutil
import (
"io/ioutil"
"qlang.io/qlang.spec.v1"
)
// -----------------------------------------------------------------------------
// Exports is the export table of this module.
//
var Exports = map[string]interface{}{
"_name": "io/ioutil",
"_initSafe": _initSafe,
"discard": ioutil.Discard,
"nopCloser": ioutil.NopCloser,
"readAll": ioutil.ReadAll,
"readDir": ioutil.ReadDir,
"readFile": ioutil.ReadFile,
"tempDir": ioutil.TempDir,
"tempFile": ioutil.TempFile,
"writeFile": ioutil.WriteFile,
}
func _initSafe(mod qlang.Module) {
mod.Disable("readDir", "readFile", "writeFile")
}
// -----------------------------------------------------------------------------
Go
1
https://gitee.com/landylee007/qlang.git
git@gitee.com:landylee007/qlang.git
landylee007
qlang
qlang
v2.9.60

搜索帮助