go_test

package module
v2.0.3 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2024 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Overview

A sample package to test imports.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add[T Number](a T, b T) T

Add two numbers together. [Addition]: https://www.mathsisfun.com/numbers/addition.html

Types

type Number

type Number interface {
	constraints.Integer | constraints.Float
}

Jump to

Keyboard shortcuts

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