Fix enum types

This commit is contained in:
Cheng Sun 2014-12-22 14:16:21 +00:00
parent 29f79d24de
commit 216eb2aab5

View File

@ -40,7 +40,7 @@ type VDI struct {
type VDIType int
const (
_ = iota
_ VDIType = iota
Disk
CD
Floppy
@ -79,7 +79,7 @@ type Task struct {
type TaskStatusType int
const (
_ = iota
_ TaskStatusType = iota
Pending
Success
Failure