fix: callback method receiver use pointer
@@ -37,7 +37,7 @@ func NewCallback() *Callback {
}
// HandleFunc handler
-func (cb Callback) HandleFunc(w http.ResponseWriter, r *http.Request) {
+func (cb *Callback) HandleFunc(w http.ResponseWriter, r *http.Request) {
decoder := json.NewDecoder(r.Body)
var e object.GroupEvent
