View definition

(VarName).ToSlice

Defined in github.com/divan/expvarmon/var.go

Description

ToSlice converts "dot-separated" notation into the "slice of strings".

"dot-separated" notation is a human-readable format, passed via args. "slice of strings" is used by Jason library.

Example: "memstats.Alloc" => []string{"memstats", "Alloc"} Example: "mem:memstats.Alloc" => []string{"memstats", "Alloc"}

ToSlice is referenced in 1 repository

github.com/divan/expvarmon