diff options
Diffstat (limited to 'helpers.go')
| -rw-r--r-- | helpers.go | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -9,6 +9,15 @@ import ( "google.golang.org/protobuf/proto" ) +func InitCluster() *NewCluster { + var c *NewCluster + c = new(NewCluster) + c.d = new(Droplets) + c.h = new(Hypervisors) + c.e = new(Events) + return c +} + // human readable JSON func (d *Droplets) FormatJSON() string { return protojson.Format(d) |
