Files
easywish/backend/internal/utils/pointer.go
Nikolai Papin 284d959bc3 feat: new general and auth errors;
feat: NewPointer helper function in utils;
refactor: length validation in auth models
2025-06-30 01:34:59 +03:00

6 lines
64 B
Go

package utils
func NewPointer[T any](d T) *T {
return &d
}