logfmt icon indicating copy to clipboard operation
logfmt copied to clipboard

Unmarshal with map[string]string

Open Huweicai opened this issue 8 months ago • 0 comments

values := map[string]string{}
logfmt.Unmarshal(log_content, &values)

The code will crash; must I use a specified struct?

Huweicai avatar Jun 17 '24 07:06 Huweicai