first commit

This commit is contained in:
Beyhan Oğur
2026-04-26 21:35:24 +03:00
commit bbbf76b184
592 changed files with 246870 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
package services
import (
"strings"
"github.com/google/uuid"
)
func parseUUIDPtr(value string) (*uuid.UUID, error) {
value = strings.TrimSpace(value)
if value == "" {
return nil, nil
}
parsed, err := uuid.Parse(value)
if err != nil {
return nil, err
}
return &parsed, nil
}