parser

package
v0.0.0-...-984c388 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCollection

func NewCollection[E, T any](src []E, convertFunc ParseFunc[E, T]) []T

NewCollection converts src (slice of type E) to a slice of T.

Types

type ParseFunc

type ParseFunc[E, T any] func(src E) T

ParseFunc converts E to T.

Jump to

Keyboard shortcuts

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