Algunos ejemplos sobre tutoriales y ejercicios en Go.
- Condicionales e Iteradores
- Condicionales
- Condicional if
- Condicional if-else
- Condicional if else if
- Estado inicial
- Ternary condition
- Condicional switch
- The syntax of the switch statement
- Default case
- Múltiples valores en el case
- Inicial statement
- Expressionless switch statement
- Fallthrough statement
- Iteradores
- Condicionales
- Punteros en Go
- Estructuras en go (structs)
- ¿Qué es una estructura?
- Declarar un tipo de estructura
- Creando una estructura
- Obtener y establecer campos de estructura
- Inicializando una estructura
- Estructura anónima
- Puntero a una estructura
- Campos anónimos
- Estructura anidada
- Campos promocionados
- Campos de función
- Comparación de estructuras
- Metadatos de campo de estructura
- Anatomía de funciones en Go
- Anatomía de métodos en Go
- Interfaces en Go
- Introduction to Streams and Buffers
- What are a stream and a buffer
- Reading from a Data Source
- io.Reader
- strings.NewReader
- ioutil.ReadAll
- io.ReadFull
- io.LimitReader
- Writing to a Data Store
- io.Writer
- io.WriteString
- Standard I/O Streams
- Closing I/O Operations
- Transferring Data between streams
- io.Copy
- io.Pipe
- Buffered streams
- Trabajando con JSON
- Katas Leap Year String Calculator