Otherwise "%v" format would be used by json.Marshal(T).
@@ -25,7 +25,7 @@ func (src *Sync) Encode(dst []byte) []byte {
}
// MarshalJSON implements encoding/json.Marshaler.
func (src *Sync) MarshalJSON() ([]byte, error) {
func (src Sync) MarshalJSON() ([]byte, error) {
return json.Marshal(struct {
Type string
}{
The note is not visible to the blocked user.