func (g *GoogleChat) HandleEvent(releaseEvent *kwrelease.Event) {
	if msg := presenters.PrepareMsg(releaseEvent); msg != "" {
		makeRequest(g, msg)
	}
}
HandleEvent sends notifications when release events occur.
package googlechat
import (
	"bytes"
	"encoding/json"
	"io/ioutil"
	"log"
	"net/http"
	"os"
	"github.com/RoadieHQ/kubewise/kwrelease"
	"github.com/RoadieHQ/kubewise/presenters"
	"helm.sh/helm/v3/pkg/release"
)
type GoogleChat struct {
	WebhookURL string
}
func (g *GoogleChat) Init() {
	var webhookURL string
	if value, ok := os.LookupEnv("KW_GOOGLECHAT_WEBHOOK_URL"); ok {
		webhookURL = value
	} else {
		log.Fatalln("Missing environment variable KW_GOOGLECHAT_WEBHOOK_URL")
	}
	g.WebhookURL = webhookURL
}