package sway import ( "encoding/json" "git.milar.in/milarin/adverr" ) type Event struct { Change string `json:"change"` Container Node `json:"container"` } func (e Event) String() string { return string(adverr.Must(json.MarshalIndent(e, "", "\t"))) }