simple

package
v0.5.4 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2022 License: MIT Imports: 0 Imported by: 0

README

simple

import "github.com/phsym/gomarkdoc/testData/simple"

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

Index

type Num

Num is a number.

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

type Num int
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.

Generated by gomarkdoc

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