rock

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: May 19, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package rock As the cornerstone of implementing generic methods, implementing generic related operations with minimal dependencies.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExtractParam

func ExtractParam[T constraints.Equable](defValue T, args ...T) T

ExtractParam Extract indefinite parameters from functions and default code values

func ExtractParamFunc added in v1.4.0

func ExtractParamFunc[T constraints.Equable](defFunc func() T, args ...T) T

ExtractParamFunc Implementing parameter extraction through custom callback functions

Types

This section is empty.

Jump to

Keyboard shortcuts

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