1 2 3 4 5 6 7 8 9 10
package handler import ( "log" ) func EventImg(event string, callback func(string)) { log.Printf() callback(event) }