Fix a comment and a apply few gofmt changes.
This commit is contained in:
parent
34805dbdb5
commit
c5fba05307
|
@ -102,7 +102,7 @@ var (
|
||||||
// hexDigits is used to map a decimal value to a hex digit.
|
// hexDigits is used to map a decimal value to a hex digit.
|
||||||
var hexDigits = "0123456789abcdef"
|
var hexDigits = "0123456789abcdef"
|
||||||
|
|
||||||
// unpackValue returns values inside of non-nil inteferfaces when possible.
|
// unpackValue returns values inside of non-nil interfaces when possible.
|
||||||
// This is useful for data types like structs, arrays, slices, and maps which
|
// This is useful for data types like structs, arrays, slices, and maps which
|
||||||
// can contain varying types packed inside an interface.
|
// can contain varying types packed inside an interface.
|
||||||
func unpackValue(v reflect.Value) reflect.Value {
|
func unpackValue(v reflect.Value) reflect.Value {
|
||||||
|
|
Loading…
Reference in New Issue