convertor

package
v0.0.0-...-e8b9cc1 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Convert

func Convert[inT, outT Convertable](in *inT, convertFn func(*inT, *outT, conversion.Scope) error) (*outT, error)

func ConvertSlice

func ConvertSlice[inT, outT Convertable](inSlice []inT, convertFn func(*inT, *outT, conversion.Scope) error) ([]outT, error)

Types

type ConvertFn

type ConvertFn func(*Convertable, *Convertable, conversion.Scope) error

type Convertable

type Convertable interface{}

Jump to

Keyboard shortcuts

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