-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.go
65 lines (53 loc) · 1.44 KB
/
main.go
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
package main
import "github.com/miafate/godesde0/middleware"
func main() {
// estado, texto := variables.ConvertirATexto(14)
// fmt.Println(estado)
// fmt.Println(texto)
// if os := runtime.GOOS; os == "linux" || os == "OS X." {
// fmt.Println("esto no es windows, es", os)
// } else {
// fmt.Println("esto es windows")
// }
// switch os := runtime.GOOS; os {
// case "linux":
// fmt.Println("esto es Linux")
// case "darwin":
// fmt.Println("esto es Darwin")
// default:
// fmt.Printf("%s \n", os)
// }
// numero, texto := ejercicios.ConvertirAInt("10")
// fmt.Println(numero, texto)
//teclado.IngresoNumeros()
//iteraciones.Iterar()
// contar_letras.ContarLetras()
// prueba.Prueba1Funcion()
// fmt.Println(ejercicios.ObtenerTablas())
// files.SumarTabla()
// files.LeerArchivo2()
// funciones.LlamarClosure()
// funciones.Exponencia(2)
// arreglos_slices.Capacidad()
// mapas.MostrarMapas()
//users.AltaUsuario()
// interfaces
// Mia := new(modelos.Mujer)
// ejer_interfaces.HumanosRespirando(Mia)
// Pedro := new(modelos.Hombre)
// ejer_interfaces.HumanosRespirando(Pedro)
//defer_panic_recover
//defer_panic.VemosDefer()
//defer_panic.EjemploPanic()
//goroutines and channels
// canal1 := make(chan bool)
// go goroutines.MiNombreLentooo("Mia Ramos", canal1)
// defer func() {
// <-canal1
// }()
// fmt.Println("Estoy aqui")
//webserver
//webserver.MiWebServer()
//middleware
middleware.MiMiddleware()
}