MCPcopy Create free account
hub / github.com/cloudbase/garm / SetFullName

Function SetFullName

auth/context.go:254–256  ·  view source on GitHub ↗

SetFullName sets the user full name in the context

(ctx context.Context, fullName string)

Source from the content-addressed store, hash-verified

252
253// SetFullName sets the user full name in the context
254func SetFullName(ctx context.Context, fullName string) context.Context {
255 return context.WithValue(ctx, fullNameKey, fullName)
256}
257
258// FullName returns the full name from context
259func FullName(ctx context.Context) string {

Callers 1

PopulateContextFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected