myexample

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

myexample.go

Index

Examples

Constants

This section is empty.

Variables

This section is empty.

Functions

func Hello

func Hello()
Example
Hello()
Output:

hello
Example (Fail)
Hello()
Output:

foo

func HelloBye

func HelloBye()
Example
HelloBye()
Output:

hello
bye
Example (Fail)
HelloBye()
Output:

foo
bye

func Shuffle

func Shuffle(nums []int) []int
Example
nums := Shuffle([]int{1, 2, 3, 4, 5})
for _, value := range nums {
	fmt.Println(value)
}
Output:

5
3
2
4
1

Types

This section is empty.

Jump to

Keyboard shortcuts

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