Documentation ¶
Overview ¶
Package zero provides facilities for efficiently zeroing Go values.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Slice ¶
func Slice(v interface{})
Slice zeroes the elements 0 <= i < v.Len() of the provided slice. Slice panics if the value is not a slice. f
func SliceValue ¶
SliceValue zeroes the elements 0 <= i < v.Len() of the provided slice value. Slice panics if the value is not a slice. f
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.