This commit is contained in:
2026-03-06 17:45:02 +03:00
commit d6e833bc9f
57 changed files with 2682 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
}