This commit is contained in:
2025-11-12 09:41:52 +03:00
commit 2a8566712a
44 changed files with 2602 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
package server
import (
"fmt"
"madsky.ru/go-tracker/internal/model/user"
"net/http"
)
func (app *Application) getSettings(w http.ResponseWriter, r *http.Request) {
ctx := r.Context()
u := ctx.Value(UserContext{}).(*user.User)
fmt.Println(u)
return
}