Explore Library
GoIntroduction & Core Concepts

51 items

1

Unused Import Rejected by Go

Code Quiz
2

Basic Program Structure

Quiz
3

Printing With fmt

Quiz
4

Comments in Go

Quiz
5

Basic Data Types

Quiz
6

Code Formatting With gofmt

Quiz
7

Compiled vs Interpreted

Quiz
8

Type Inference

Quiz
9

Zero Values

Quiz
10

Go's Origins

Quiz
11

Static Typing

Quiz
12

What Go Is

Quiz
13

Program Entry Point

Quiz
14

Running Go Programs

Quiz
15

Declaring Variables

Quiz
16

Exported Identifiers

Quiz
17

Semicolons in Go

Quiz
18

Constants in Go

Quiz
19

Broken Comment Syntax

Code Quiz
20

Importing the Right Package

Code Quiz
21

Calling an Unexported Function

Code Quiz
22

Printf Format Verb Mismatch

Code Quiz
23

Package Declaration for Runnable Program

Code Quiz
24

Assigning to a Constant

Code Quiz
25

The Entry Point Function

Code Quiz
26

Declaring a Variable with var

Code Quiz
27

Boolean Value Assigned as String

Code Quiz
28

Type Inference Gone Wrong

Code Quiz
29

Short Declaration Outside a Function

Code Quiz
30

Assuming the Wrong Zero Value

Code Quiz
31

Integer Division Surprise

Code Quiz
32

Missing Numeric Conversion

Code Quiz
33

Concatenating a String and a Number

Code Quiz
34

Printing Output with fmt

Flashcard
35

Case-Based Visibility

Flashcard
36

Structure of a Basic Go Program

Flashcard
37

What Go Is and Its Origins

Flashcard
38

Garbage Collection in Go

Flashcard
39

Key Design Goals of Go

Flashcard
40

Compiled vs Interpreted

Flashcard
41

Package Declaration and package main

Flashcard
42

Statically Typed Language

Flashcard
43

Import Statements and Standard Library

Flashcard
44

Go File Naming and .go Extension

Flashcard
45

Comments in Go

Flashcard
46

gofmt and Standard Formatting

Flashcard
47

The func Keyword

Flashcard
48

Running Code with go run

Flashcard
49

Building Executables with go build

Flashcard
50

Go Modules and go.mod

Flashcard
51

Semicolon Insertion Rules

Flashcard
QuizBeginner

Basic Program Structure

Every Go file starts with a package clause, followed by imports and code.

What must be the first non-comment statement in a Go source file?