123456789101112131415 |
- package packages
- import (
- "os/signal"
- "reflect"
- "github.com/mattn/anko/env"
- )
- func init() {
- env.Packages["os/signal"] = map[string]reflect.Value{
- "Notify": reflect.ValueOf(signal.Notify),
- "Stop": reflect.ValueOf(signal.Stop),
- }
- }
|