feat: new general and auth errors;

feat: NewPointer helper function in utils;
refactor: length validation in auth models
This commit is contained in:
2025-06-30 01:34:59 +03:00
parent e2d83aa779
commit 284d959bc3
4 changed files with 10 additions and 5 deletions

View File

@@ -0,0 +1,5 @@
package utils
func NewPointer[T any](d T) *T {
return &d
}