Transition from Java to Go
2h 17mIntermediate2022-06-09
Authors
Adelina Simion
Software Engineer and Technology Evangelist
Course details
If you are used to working in Java but need to learn to code efficiently in Go, instructor Adelina Simion has you covered. In this course, she shows you how to learn Go quickly and continue delivering code at your regular speed in production. Adelina walks you through basics like program structure, running programs, declaring variables, basic data types, and pointers. She defines functions and walks you through how to use several of them in Go. Adelina goes over structures (structs) and interfaces, including call methods, modules, and interfaces. She explains data structures, such as arrays, slices, maps, loops, and ranges, then describes how to handle JSON. Adelina discusses sorting and searching, as well as CLIs. She steps through how to use unit testing in Go, then finishes up with a discussion of concurrency and generics that introduces channels and goroutines.
Skills covered
GoJavaOracleGoogleProgramming LanguagesSoftware DevelopmentOne-Off
Concepts
0. Introduction
- 01 - Intro
- 02 - Installation and setup
1. The Basics
- 03 - Program structure
- 04 - Running programs
- 05 - Declaring variables
- 06 - Basic data types
- 07 - Pointers
2. Functions
- 08 - Function definition
- 09 - Multiple return values
- 10 - If Else
- 11 - Error handling
- 12 - Deferred functions
3. Structures and Interfaces
- 13 - Struct basics
- 14 - Methods
- 15 - Modules
- 16 - Interfaces
- 17 - Challenge - Temperature converter (Celsius Fahrenheit)
- 18 - Solution - Temperature converter (Celsius Fahrenheit)
4. Data Structures
- 19 - Arrays
- 20 - Slices
- 21 - Maps
- 22 - Loops and ranges
- 23 - Handling JSON
- 24 - Sorting and searching
- 25 - Building CLIs
- 26 - Challenge - Vacation planner
- 27 - Solution - Vacation planner
Unit Testing
- 28 - Unit testing basics
- 29 - Table testing
- 30 - Mocks
Conclusion
- 31 - Concurrency and generics
- 32 - Next Steps
Related courses
Related learn paths
- Become an Android Mobile App Developer
- Prepare for the Google Associate Android Developer Certification
- Become a Java Programmer
- Advance Your Spring Development Skills
- The Top Skills Engineering Professionals Have Right Now
- Prepare for the CompTIA PenTest+ (PT0-001) Exam
- Transition from Manager to Senior Manager
- Advance Your Skills as a Manager