Documentation

Index

Examples

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(x, y int) int

Add takes two integers and returns the sum of them.

Example

Code:

sum := Add(1, 5)
fmt.Println(sum)
6

Types

This section is empty.

Source Files