add user authentication

This commit is contained in:
2026-03-16 20:18:37 +03:00
parent 1baa6a4806
commit 3a8bc6df2d
6 changed files with 175 additions and 7 deletions

9
model/model.go Normal file
View File

@@ -0,0 +1,9 @@
package model
import "time"
type Model struct {
ID int64 `json:"id" db:"id"`
CreatedAt time.Time `json:"createdAt" db:"created_at"`
UpdatedAt time.Time `json:"updatedAt" db:"updated_at"`
}