xtools_packages

package
v3.1.0 Latest Latest
Warning

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

Go to latest
Published: May 11, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateModel

func GenerateModel(importPath string, interfaceName string) (*model.Package, error)

Types

type Bla

type Bla[K comparable, V Number] interface {
	SumNumbers(m map[K]V, i int, s string, a []float32, sss ...string) V
}

func NewBlub

func NewBlub[K1 comparable, V1 Number]() Bla[K1, V1]

type Blub

type Blub[V Number, K comparable] struct{}

func (*Blub[V, K]) SumNumbers

func (b *Blub[V, K]) SumNumbers(m map[K]V, i int, _ string, a []float32, sss ...string) V

type Number

type Number interface {
	int64 | float64
}

Jump to

Keyboard shortcuts

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