diff options
Diffstat (limited to 'helpers.go')
| -rw-r--r-- | helpers.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/helpers.go b/helpers.go new file mode 100644 index 0000000..81b5fb2 --- /dev/null +++ b/helpers.go @@ -0,0 +1,5 @@ +package virtbuf + +func (x *Hypervisor) SetMemory(gb int) { + x.Memory = int64(gb * 1024 * 1024 * 1024) +} |
