converter

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2020 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package converter provides a built-in implementation of generic routines for collection based conversion. Experimental.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type T0

type T0 string

T0 is a generic type variable placeholder of a source value. It will not appear in the generated code

type T0Slice

type T0Slice []T0

T0Slice is a slice of T0 elements to convert

func (T0Slice) ToT1Slice

func (s T0Slice) ToT1Slice(convert func(T0) T1) []T1

ToT1Slice converts this slice to a slice of T1 elements using provided conversion function

type T1

type T1 interface{}

T1 is a generic type variable placeholder of a destination value. It will not appear in the generated code

Jump to

Keyboard shortcuts

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