fit

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2019 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package fit includes functions for fitting loose types to their underlying values.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Fit

func Fit(in interface{}) interface{}

Fit fits the given object and any underlying values.

func FitMapValue

func FitMapValue(in reflect.Value) reflect.Value

FitMapValue iterates through and fits the given map value and its underlying values.

func FitSliceValue

func FitSliceValue(in reflect.Value) reflect.Value

FitSliceValue iterates through and fits the given slice value and its underlying values.

func FitValue

func FitValue(in reflect.Value) reflect.Value

FitValue fits the value and any underlying values.

Types

This section is empty.

Jump to

Keyboard shortcuts

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