-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.go
More file actions
90 lines (67 loc) · 2.1 KB
/
Copy pathmain.go
File metadata and controls
90 lines (67 loc) · 2.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
package main
import (
"WebstormProjects/UDEMY/GO/FirstSteps-GO/middleware"
)
// "WebstormProjects/UDEMY/GO/FirstSteps-GO/exercices"
// "WebstormProjects/UDEMY/GO/FirstSteps-GO/files"
// "WebstormProjects/UDEMY/GO/FirstSteps-GO/iterations"
// "WebstormProjects/UDEMY/GO/FirstSteps-GO/keyboard"
// "WebstormProjects/UDEMY/GO/FirstSteps-GO/variables"
// "fmt"
// "runtime"
// "WebstormProjects/UDEMY/GO/FirstSteps-GO/functions"
// "WebstormProjects/UDEMY/GO/FirstSteps-GO/arrays_slices"
// "WebstormProjects/UDEMY/GO/FirstSteps-GO/maps"
// "WebstormProjects/UDEMY/GO/FirstSteps-GO/users"
// e "WebstormProjects/UDEMY/GO/FirstSteps-GO/exer_interfaces"
// "WebstormProjects/UDEMY/GO/FirstSteps-GO/models"
// "WebstormProjects/UDEMY/GO/FirstSteps-GO/defer_panic"
func main() {
// variables.ShowInt()
// variables.VariablesRest()
// state, text := variables.TextToConverter(1880)
// fmt.Println(state, text)
// if os := runtime.GOOS; os == "windows." || os == "OS X." {
// fmt.Println("Esto no es Windows, es", os)
// } else {
// fmt.Println("Esto es linux")
// }
// switch os := runtime.GOOS; os {
// case "windows":
// fmt.Println("Esto es Windows")
// case "darwin":
// fmt.Println("Esto es Darwin")
// default:
// fmt.Printf("%s \n", os)
// }
// fmt.Println(exercices.TextToConverterAndValidateAHundred("100"))
// keyboard.InsertNumbers()
// iterations.Iteration()
// exercices.MultiplicationOfTenTable()
// files.SaveTable()
// files.AddTable()
// files.ReadFile()
// functions.Calculates()
// functions.CallClosure()
// functions.Exponential(2)
// arrays_slices.ViewArrays()
// arrays_slices.ViewMatrix()
// arrays_slices.ViewSlice()
// arrays_slices.Capacity()
// maps.ViewMaps()
// users.CreateUser()
// Pepe := new(models.Man)
// e.BreatheHumans(Pepe)
// Maria := new(models.Woman)
// e.BreatheHumans(Maria)
// defer_panic.ViewDefer()
// defer_panic.ExamplePanic()
// channel1 := make(chan bool)
// go goroutines.MySlowName("Jandrohen", channel1)
// defer func() {
// <-channel1
// }()
// fmt.Println("I am here")
// webserver.MiWebServer()
middleware.MyMiddleware()
}