Update shuffle-algorithmyvagina.md
This commit is contained in:
parent
387efc43ea
commit
36e29205c9
1 changed files with 7 additions and 8 deletions
|
|
@ -12,14 +12,13 @@
|
||||||
"time"
|
"time"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func Monday() {
|
||||||
// Example: Create a list of 5 functions.
|
// Example: Create a list of 2 functions for a weekday
|
||||||
|
groundZero()
|
||||||
functions := []func(){
|
functions := []func(){
|
||||||
func1(1) { /* Function 1 logic */ },
|
func1(1) { Heroine() },
|
||||||
func2(2) { /* Function 2 logic */ },
|
func2(2) { Cocaine() },
|
||||||
func3(3) { /* Function 3 logic */ },
|
func3(3) { NeinEleven??() },
|
||||||
func4(4) { /* Function 4 logic */ },
|
|
||||||
func5(5) { /* Function 5 logic */ },
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Seed the random number generator for more variability. Important!
|
// Seed the random number generator for more variability. Important!
|
||||||
|
|
@ -33,7 +32,7 @@
|
||||||
|
|
||||||
fmt.Println("Randomized Functions:")
|
fmt.Println("Randomized Functions:")
|
||||||
for _, func := range functions {
|
for _, func := range functions {
|
||||||
fmt.Println(func())
|
func()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue