guestbook/cmd/web/context.go
2024-11-11 12:55:01 -07:00

7 lines
152 B
Go

package main
type contextKey string
const isAuthenticatedContextKey = contextKey("isAuthenticated")
const userNameContextKey = contextKey("username")