decoders

package
v0.18.9 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2022 License: MIT Imports: 3 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NullTimeDecoderFn

func NullTimeDecoderFn() func([]string) (interface{}, error)

NullTimeDecoderFn is a custom type decoder func for null.Time fields

func RegisterTimeFormats

func RegisterTimeFormats(layouts ...string)

RegisterTimeFormats allows to add custom time layouts that the binder will be able to use for decoding.

func TimeDecoderFn

func TimeDecoderFn() func([]string) (interface{}, error)

TimeDecoderFn is a custom type decoder func for Time fields

Types

This section is empty.

Jump to

Keyboard shortcuts

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