लर्निंग पाथ

Go की बुनियाद

पहले प्रोग्राम से लेकर वेरिएबल, टाइप, कंडीशन, लूप, स्ट्रिंग, slice, map और फ़ंक्शन तक, हर विषय के बाद एक चैलेंज के साथ।

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.
आगे बढ़ें: प्रोग्रामिंग की बुनियाद