Fix storing struct in context (#2126)
This commit is contained in:
parent
ccb158c99b
commit
68c8ce63a7
@ -21,7 +21,7 @@ type temp struct {
|
||||
|
||||
// WithTempData creates context with information how store temporary data, in memory or on disk
|
||||
func WithTempData(ctx context.Context, directory string, inmemory bool) context.Context {
|
||||
temp := &temp{
|
||||
temp := temp{
|
||||
inmemory: inmemory,
|
||||
directory: directory,
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user