add exec
This commit is contained in:
@@ -32,3 +32,8 @@ const (
|
||||
MEMORY
|
||||
HARDWARE
|
||||
)
|
||||
|
||||
// String() - Returns the string representation of the storage type
|
||||
func (t StorageType) String() string {
|
||||
return [...]string{"FILE", "STREAM", "API", "DATABASE", "S3", "MEMORY", "HARDWARE"}[t]
|
||||
}
|
||||
|
Reference in New Issue
Block a user