populate

package module
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2021 License: MIT Imports: 4 Imported by: 0

README

Package populate implements convertation from interface{} to map

Documentation

Overview

Package populate implements convertation from interface{} to map

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Fields

type Fields struct {
	// contains filtered or unexported fields
}

Fields --

func Do

func Do(data interface{}) *Fields

Do --

func (Fields) Bool

func (f Fields) Bool(name string) (val bool, exists bool, err error)

Bool --

func (Fields) Float64

func (f Fields) Float64(name string) (val float64, exists bool, err error)

Float64 --

func (Fields) Int32

func (f Fields) Int32(name string) (val int32, exists bool, err error)

Int32 --

func (Fields) Int64

func (f Fields) Int64(name string) (val int64, exists bool, err error)

Int64 --

func (Fields) String

func (f Fields) String(name string) (val string, exists bool, err error)

String --

Jump to

Keyboard shortcuts

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