Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Include support to Generics #7

@rodrigo-brito

Description

@rodrigo-brito

We can support multiple primitive types in a single data structure with the new generic interface:

type Element interface {
    int | int64 | float | float64 | string
}

And replace the custom methods NewLinkedHashSetINT64 with NewLinkedHashSet that support multiple types.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions