documentme

package
v0.0.0-...-84d5eb4 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package documentme is for showing the documentaiton capabilities of go It is a native package

Index

Examples

Constants

View Source
const Pie = 3.1415912

Pie is a global variable This is a silly comment

Variables

This section is empty.

Functions

func F1

func F1(n int) int

F1 function returns the double value of its input integer A better name would have been Double()!

Example
fmt.Println(F1(10))
fmt.Println(F1(2))
Output:

20
4

func S1

func S1(s string) int

S1 finds the length of a string it iterates over the string using range

Example
fmt.Println(S1("123456789"))
fmt.Println(S1(""))
Output:

9
0

Types

This section is empty.

Jump to

Keyboard shortcuts

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