This commit is contained in:
crusader 2018-04-28 22:12:16 +09:00
parent 66a0253292
commit 3d84022b30

View File

@ -45,6 +45,10 @@ var (
} }
) )
func ToContainerType(v string) ContainerType {
return containerTypeName[v]
}
func (ct ContainerType) String() string { func (ct ContainerType) String() string {
return containerTypeID[ct] return containerTypeID[ct]
} }