sum

package
v0.0.0-...-153d759 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package sum : utilities to sum integers

Index

Examples

Constants

This section is empty.

Variables

This section is empty.

Functions

func Sum

func Sum(v ...int) int

Sum returns sum of integers list

Example
package main

import (
	"fmt"
	"goExploration/sum"
)

func main() {
	fmt.Println(sum.Sum(1, 2, 3))
}
Output:

6

Types

This section is empty.

Jump to

Keyboard shortcuts

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