mapstructure

package
v0.1.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 2, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decode

func Decode(input, output interface{}) error

Decode is a drop-in replacement for mapstructure.Decode that fixes the time.Time bug where time.Time fields are decoded to zero values instead of proper time values. This addresses the issue described in: https://github.com/go-viper/mapstructure/issues/20

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL