simple

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package simple contains, some simple code to exercise basic scenarios for documentation purposes.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Num

type Num int

Num is a number.

It is just a test type so that we can make sure this works.

func AddNums

func AddNums(num1, num2 Num) Num

AddNums adds two Nums together.

func (Num) Add

func (n Num) Add(num Num) Num

Add adds the other num to this one.

Jump to

Keyboard shortcuts

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