You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: field.go
    path of file: ./repos/kubernetes/vendor/go.uber.org/zap
    
    the code of the file until where you have to start completion: // Copyright (c) 2016 Uber Technologies, Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.

package zap

import (
	"fmt"
	"math"
	"time"

	"go.uber.org/zap/internal/stacktrace"
	"go.uber.org/zap/zapcore"
)

// Field is an alias for Field. Aliasing this type dramatically
// improves the navigability of this package's API documentation.
type Field = zapcore.Field

var (
	_minTimeInt64 = time.Unix(0, math.MinInt64)
	_maxTimeInt64 = time.Unix(0, math.MaxInt64)
)

// Skip constructs a no-op field, which is often useful when handling invalid
// inputs in other Field constructors.
func Skip() Field {
	return Field{Type: zapcore.SkipType}
}

// nilField returns a field which will marshal explicitly as nil. See motivation
// in https://github.com/uber-go/zap/issues/753 . If we ever make breaking
// changes and add zapcore.NilType and zapcore.ObjectEncoder.AddNil, the
// implementation here should be changed to reflect that.
func nilField(key string) Field { return Reflect(key, nil) }

// Binary constructs a field that carries an opaque binary blob.
//
// Binary data is serialized in an encoding-appropriat
    
func Any(key string, value interface{}) Field {
	var c interface{ Any(string, any) Field }

	switch value.(type) {
	case zapcore.ObjectMarshaler:
		c = anyFieldC[zapcore.ObjectMarshaler](Object)
	case zapcore.ArrayMarshaler:
		c = anyFieldC[zapcore.ArrayMarshaler](Array)
	case []Field:
		c = anyFieldC[[]Field](dictField)
	case bool:
		c = anyFieldC[bool](Bool)
	case *bool:
		c = anyFieldC[*bool](Boolp)
	case []bool:
		c = anyFieldC[[]bool](Bools)
	case complex128:
		c = anyFieldC[complex128](Complex128)
	case *complex128:
		c = anyFieldC[*complex128](Complex128p)
	case []complex128:
		c = anyFieldC[[]complex128](Complex128s)
	case complex64:
		c = anyFieldC[complex64](Complex64)
	case *complex64:
		c = anyFieldC[*complex64](Complex64p)
	case []complex64:
		c = anyFieldC[[]complex64](Complex64s)
	case float64:
		c = anyFieldC[float64](Float64)
	case *float64:
		c = anyFieldC[*float64](Float64p)
	case []float64:
		c = anyFieldC[[]float64](Float64s)
	case float32:
		c = anyFieldC[float32](Float32)
	case *float32:
		c = anyFieldC[*float32](Float32p)
	case []float32:
		c = anyFieldC[[]float32](Float32s)
	case int:
		c = anyFieldC[int](Int)
	case *int:
		c = anyFieldC[*int](Intp)
	case []int:
		c = anyFieldC[[]int](Ints)
	case int64:
		c = anyFieldC[int64](Int64)
	case *int64:
		c = anyFieldC[*int64](Int64p)
	case []int64:
		c = anyFieldC[[]int64](Int64s)
	case int32:
		c = anyFieldC[int32](Int32)
	case *int32:
		c = anyFieldC[*int32](Int32p)
	case []int32:
		c = anyFieldC[[]int32](Int32s)
	case int16:
		c = anyFieldC[int16](Int16)
	case *int16:
		c = anyFieldC[*int16](Int16p)
	case []int16:
		c = anyFieldC[[]int16](Int16s)
	case int8:
		c = anyFieldC[int8](Int8)
	case *int8:
		c = anyFieldC[*int8](Int8p)
	case []int8:
		c = anyFieldC[[]int8](Int8s)
	case string:
		c = anyFieldC[string](String)
	case *string:
		c = anyFieldC[*string](Stringp)
	case []string:
		c = anyFieldC[[]string](Strings)
	case uint:
		c = anyFieldC[uint](Uint)
	case *uint:
		c = anyFieldC[*uint](Uintp)
	case []uint:
		c = anyFieldC[[]uint](Uints)
	case uint64:
		c = anyFieldC[uint64](Uint64)
	case *uint64:
		c = anyFieldC[*uint64](Uint64p)
	case []uint64:
		c = anyFieldC[[]uint64](Uint64s)
	case uint32:
		c = anyFieldC[uint32](Uint32)
	case *uint32:
		c = anyFieldC[*uint32](Uint32p)
	case []uint32:
		c = anyFieldC[[]uint32](Uint32s)
	case uint16:
		c = anyFieldC[uint16](Uint16)
	case *uint16:
		c = anyFieldC[*uint16](Uint16p)
	case []uint16:
		c = anyFieldC[[]uint16](Uint16s)
	case uint8:
		c = anyFieldC[uint8](Uint8)
	case *uint8:
		c = anyFieldC[*uint8](Uint8p)
	case []byte:
		c = anyFieldC[[]byte](Binary)
	case uintptr:
		c = anyFieldC[uintptr](Uintptr)
	case *uintptr:
		c = anyFieldC[*uintptr](Uintptrp)
	case []uintptr:
		c = anyFieldC[[]uintptr](Uintptrs)
	case time.Time:
		c = anyFieldC[time.Time](Time)
	case *time.Time:
		c = anyFieldC[*time.Time](Timep)
	case []time.Time:
		c = anyFieldC[[]time.Time](Times)
	case time.Duration:
		c = anyFieldC[time.Duration](Duration)
	case *time.Duration:
		c = anyFieldC[*time.Duration](Durationp)
	case []time.Duration:
		c = anyFieldC[[]time.Duration](Durations)
	case error:
		c = anyFieldC[error](NamedError)
	case []error:
		c = anyFieldC[[]error](Errors)
	case fmt.Stringer:
		c = anyFieldC[fmt.Stringer](Stringer)
	default:
		c = anyFieldC[any](Reflect)
	}

	return c.Any(key, value)
}