Aprenda Go 🇧🇷 Cap. 3 – Exercícios: Nível #1 – 5
Cap. 3 – Exercícios: Nível #1 – 5 Transcript and Lesson Notes
- Utilizando a solução do exercício anterior: 1. Em package-level scope, utilizando a palavra-chave var, crie uma variável com o identificador "y". O tipo desta variável deve ser o tipo subjacente do tipo que você criou
Quick Summary
- Utilizando a solução do exercício anterior: 1. Em package-level scope, utilizando a palavra-chave var, crie uma variável com o identificador "y". O tipo desta variável deve ser o tipo subjacente do tipo que você criou
Key Takeaways
- Review the core idea: - Utilizando a solução do exercício anterior: 1. Em package-level scope, utilizando a palavra-chave var, crie uma variável com o identificador "y". O tipo desta variável deve ser o tipo subjacente do tipo que você criou
- Understand how programar fits into Cap. 3 – Exercícios: Nível #1 – 5.
- Understand how programação fits into Cap. 3 – Exercícios: Nível #1 – 5.
- Understand how go fits into Cap. 3 – Exercícios: Nível #1 – 5.
- Understand how golang fits into Cap. 3 – Exercícios: Nível #1 – 5.
Key Concepts
Full Transcript
- Utilizando a solução do exercício anterior: 1. Em package-level scope, utilizando a palavra-chave var, crie uma variável com o identificador "y". O tipo desta variável deve ser o tipo subjacente do tipo que você criou no exercício anterior. 2. Na função main: 1. Isto já deve estar feito: 1. Demonstre o valor da variável "x" 2. Demonstre o tipo da variável "x" 3. Atribua 42 à variável "x" utilizando o operador "=" 4. Demonstre o valor da variável "x" 2. Agora faça tambem: 1. Utilize conversão para transformar o tipo do valor da variável "x" em seu tipo subjacente e, utilizando o operador "=", atribua o valor de "x" a "y" 2. Demonstre o valor de "y" 3. Demonstre o tipo de "y" - Solução: https://play.golang.org/p/uq81T_fasP → Compartilhe sua solução e converse com outros estudantes em: https://github.com/ellenkorbes/aprendago/issues/8
Lesson FAQs
What is Cap. 3 – Exercícios: Nível #1 – 5 about?
- Utilizando a solução do exercício anterior: 1. Em package-level scope, utilizando a palavra-chave var, crie uma variável com o identificador "y". O tipo desta variável deve ser o tipo subjacente do tipo que você criou
What key concepts are covered in this lesson?
The lesson covers programar, programação, go, golang, programacao.
What should I learn before Cap. 3 – Exercícios: Nível #1 – 5?
Review the previous lessons in Aprenda Go 🇧🇷, then use the transcript and key concepts on this page to fill any gaps.
How can I practice after this lesson?
Practice by applying the main concepts: programar, programação, go, golang.
Does this lesson include a transcript?
Yes. The full transcript is visible on this page in indexable HTML sections.
Is this lesson free?
Yes. CourseHive lessons and courses are available to learn online for free.
