MCPcopy
hub / github.com/LyricTian/gin-admin / String

Method String

pkg/util/context.go:101–103  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

99}
100
101func (a UserCache) String() string {
102 return json.MarshalToString(a)
103}
104
105func NewUserCache(ctx context.Context, userCache UserCache) context.Context {
106 return context.WithValue(ctx, userCacheCtx{}, userCache)

Callers 15

ParseUserIDMethod · 0.95
LoginMethod · 0.95
RandomFunction · 0.45
LoggerWithConfigFunction · 0.45
TraceWithConfigFunction · 0.45
ExecMethod · 0.45
ContextFunction · 0.45
formatObjectNameFunction · 0.45
PutObjectMethod · 0.45
GetObjectMethod · 0.45
RemoveObjectMethod · 0.45
RemoveObjectByURLMethod · 0.45

Calls 1

MarshalToStringFunction · 0.92

Tested by

no test coverage detected