Пример #1
0
func eventParameter(i []interface{}) (ss []string, e interface{}) {
	l := len(i) - 1
	for k, v := range i {
		if k == l {
			e = v
		} else if s, ok := v.(string); ok {
			ss = append(ss, s)
		} else {
			base.DEBUG("eventParameter", i)
		}
	}
	return
}
Пример #2
0
func Debug(v ...interface{}) {
	base.DEBUG(v...)
}