diff options
| author | Jeff Carr <[email protected]> | 2024-10-30 11:01:42 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-10-30 11:01:42 -0500 |
| commit | 42e34f41cf368818725e7ee210c044f3c84adb5f (patch) | |
| tree | 95d4f92b48357b64a5f42f94bb2f277516fdf3e7 /config.go | |
| parent | ae69eafee5d33748471d498b0a0e44c44f3aadb9 (diff) | |
add droplet.MarshalJSON()
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'config.go')
| -rw-r--r-- | config.go | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -382,6 +382,10 @@ func (d *Droplets) MarshalJSON() ([]byte, error) { return protojson.Marshal(d) } +func (d *Droplet) MarshalJSON() ([]byte, error) { + return protojson.Marshal(d) +} + func (e *Events) MarshalJSON() ([]byte, error) { return protojson.Marshal(e) } |
