| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
package stdlib |
| 7 |
|
| 8 |
import ( |
| 9 |
"io/ioutil" |
| 10 |
"reflect" |
| 11 |
) |
| 12 |
|
| 13 |
func init() { |
| 14 |
Symbols["io/ioutil/ioutil"] = map[string]reflect.Value{ |
| 15 |
|
| 16 |
"Discard": reflect.ValueOf(&ioutil.Discard).Elem(), |
| 17 |
"NopCloser": reflect.ValueOf(ioutil.NopCloser), |
| 18 |
"ReadAll": reflect.ValueOf(ioutil.ReadAll), |
| 19 |
"ReadDir": reflect.ValueOf(ioutil.ReadDir), |
| 20 |
"ReadFile": reflect.ValueOf(ioutil.ReadFile), |
| 21 |
"TempDir": reflect.ValueOf(ioutil.TempDir), |
| 22 |
"TempFile": reflect.ValueOf(ioutil.TempFile), |
| 23 |
"WriteFile": reflect.ValueOf(ioutil.WriteFile), |
| 24 |
} |
| 25 |
} |