123456789101112131415 |
- package packages
- import (
- "encoding/json"
- "reflect"
- "github.com/mattn/anko/env"
- )
- func init() {
- env.Packages["encoding/json"] = map[string]reflect.Value{
- "Marshal": reflect.ValueOf(json.Marshal),
- "Unmarshal": reflect.ValueOf(json.Unmarshal),
- }
- }
|