set

package
v0.0.0-...-0a721d5 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2024 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Overview

Package set contains the implementation of the set plugin, which generates the deriveSet function.

func deriveSet([]T) map[T]struct{}

Example: https://github.com/awalterschulze/goderive/tree/master/example/plugin/set

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

New is a constructor for the set code generator. This generator should be reconstructed for each package.

func NewPlugin

func NewPlugin() derive.Plugin

NewPlugin creates a new keys plugin. This function returns the plugin name, default prefix and a constructor for the set code generator.

Types

This section is empty.

Jump to

Keyboard shortcuts

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