feat: add storage management and utility functions

- Implement storage service for file management
- Add support for external and system storage backends
- Include utility functions for environment variables
- Add hash utilities for secure operations
- Implement validation utilities for data integrity
- Support file encryption and secure storage
- Add proper error handling and logging for storage operations
This commit is contained in:
Björn Benouarets
2025-09-30 11:45:16 +02:00
parent d9726d9204
commit 309e2794a1
4 changed files with 124 additions and 0 deletions

11
utils/env.go Normal file
View File

@@ -0,0 +1,11 @@
package utils
import "os"
// GetEnv gets an environment variable with a fallback value
func GetEnv(key, fallback string) string {
if value := os.Getenv(key); value != "" {
return value
}
return fallback
}