학습 경로

Go 기초 다지기

첫 프로그램부터 변수, 타입, 조건문, 반복문, 문자열, 슬라이스, 맵, 함수까지 배우고, 주제마다 챌린지로 확인합니다.

레슨 18개 · 챌린지 33개

1 시작하기 레슨 5개

  1. 레슨 챌린지 2개 Hello World and Program Structure Write your first Go program and learn what package main, import and func main do.
  2. 레슨 챌린지 2개 Variables and Constants Declare variables with var and :=, and fixed values with const.
  3. 레슨 챌린지 2개 Data Types Work with int, float64, bool, rune and string, and convert between them.
  4. 레슨 챌린지 2개 Operators and Arithmetic Use arithmetic, comparison and logical operators, and see how integer division works.
  5. 레슨 챌린지 2개 Reading User Input Read a line from the keyboard and turn it into a number safely.

2 조건문 레슨 2개

  1. 레슨 챌린지 2개 Conditions: if and switch Choose what runs with if, else and switch.
  2. 레슨 챌린지 1개 FizzBuzz Solve the classic FizzBuzz problem with a switch.

3 반복문 레슨 2개

  1. 레슨 챌린지 2개 Loops with for Repeat code with Go's only loop, for, in its four forms.
  2. 레슨 챌린지 2개 Prime Numbers Check whether a number is prime and list the primes up to 30.

4 문자열 레슨 2개

  1. 레슨 챌린지 2개 Strings Join, search, split and slice text with Go strings and the strings package.
  2. 레슨 챌린지 1개 Reverse a String Reverse the characters of a string and the words of a sentence.

5 컬렉션 레슨 4개

  1. 레슨 챌린지 2개 Arrays Store a fixed number of values and see that arrays are copied on assignment.
  2. 레슨 챌린지 2개 Slices Work with growing lists: append, slicing, make, len and cap.
  3. 레슨 챌린지 2개 Maps Store and look up values by key with Go maps.
  4. 레슨 챌린지 2개 Word Frequency Counter Count how often each word appears with a map.

6 함수 레슨 2개

  1. 레슨 챌린지 2개 Functions and Multiple Return Values Define functions, return more than one value and accept any number of arguments.
  2. 레슨 챌린지 2개 Fibonacci Sequence Generate Fibonacci numbers with a loop and a slice.

7 객체와 클래스 레슨 1개

  1. 레슨 챌린지 1개 Structs Group related values into your own type with named fields.
다음 단계: 프로그래밍 기초