It just prints detailed slice structure
package main
import (
sliceanalyzer "github.com/rostislaved/slice-analyzer"
)
func main() {
s1 := []int{1, 2, 3}
sliceanalyzer.Print(s1, "s1")
s2 := append(s1, 4, 5)
sliceanalyzer.Print(s2, "s2")
s3 := s2[1:4]
sliceanalyzer.Print(s3, "s3")
}