This commit is contained in:
mr
2025-01-14 08:17:22 +01:00
parent a0f436b3e1
commit 1c32cd2d12
4 changed files with 17 additions and 1 deletions

View File

@@ -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]
}