Next Section: Go错误处理机制798 plays

5 秒后自动播放下一节
  Watch Again

GO Language Core Programming Course

Introduction >
ChapterCourseware
Chapter1Introduction to GO language

What can Golang do?

24 minutes06 seconds

How to learn Golang more efficiently (1)

12 minutes37 seconds

How to learn Golang more efficiently (2)

18 minutes26 seconds

Basic concepts of program

13 minutes42 seconds

A brief history of the development of Go language

15 minutes00 seconds

Go language features and fast experience

19 minutes22 seconds
Chapter2Development tools and environment setup

Introduction to Golang development tools

11 minutes22 seconds

Installation of vscode under windows

16 minutes09 seconds

Use of vscode under windows

07 minutes10 seconds

Installation and use of vscode under Linux

17 minutes12 seconds

Installation and use of vscode under mac

24 minutes49 seconds

Building a Go development environment under windows

46 minutes32 seconds

Building a Go development environment under Linux

20 minutes31 seconds

Building a Go development environment on Mac

16 minutes06 seconds
Chapter3Golang program development instructions

Go program development and basic structure description

22 minutes12 seconds

Developing Go programs under Linux and Mac

20 minutes36 seconds

Golang performs popularity analysis

08 minutes06 seconds

Golang compilation and running instructions

14 minutes32 seconds

Go syntax requirements and considerations

14 minutes47 seconds
Chapter4Go basics

Go escape characters

24 minutes09 seconds

Common Go development mistakes and solutions

07 minutes32 seconds

Comments on Go language

11 minutes47 seconds

Standard coding style requirements

17 minutes26 seconds

Go Official Programming Guide

19 minutes45 seconds

Go language standard library API

20 minutes07 seconds

Introduction to common Dos instructions

11 minutes47 seconds

Directory operations

24 minutes05 seconds

File operations

13 minutes02 seconds

Additional guides and comprehensive exercises

03 minutes28 seconds

Review and summary of practice questions

20 minutes18 seconds

Why variables are needed

04 minutes26 seconds

Introduction to variables and quick start

07 minutes21 seconds

Variable usage details (1)

25 minutes37 seconds

Variable usage details (2)

10 minutes15 seconds

Clarify several concepts of variables

07 minutes29 seconds
Chapter5type of data

Introduction to data types

08 minutes49 seconds

Basic use of integer types

20 minutes46 seconds

Integer type usage details

16 minutes19 seconds

Basic uses of floating point types

12 minutes53 seconds

Floating point type usage details

10 minutes24 seconds

Basic usage of character types

15 minutes45 seconds

Character type considerations

20 minutes50 seconds

Use of Boolean types

07 minutes06 seconds

Basic use of string types

04 minutes55 seconds

String type details

16 minutes44 seconds

Basic data type default value

06 minutes31 seconds

Basic data conversion

09 minutes47 seconds

Discussion of basic data conversion details

24 minutes09 seconds

Convert basic data to string

25 minutes55 seconds

string to basic data type

24 minutes34 seconds

String to basic type details

08 minutes38 seconds
Chapter6pointer/reference type

Pointers and their memory layout

21 minutes17 seconds

Pointer Cases and Usage Pitfalls

17 minutes48 seconds

Value types and reference types

10 minutes46 seconds
Chapter7identifier/keyword

Basic usage of identifiers

19 minutes38 seconds

Go identifier naming characteristics and specifications

21 minutes39 seconds

Reserved keywords and predefined identifiers

04 minutes41 seconds
Chapter8operator

Basic introduction to operators

03 minutes20 seconds

Basic use of arithmetic operators

18 minutes41 seconds

Arithmetic operators discussed in detail

15 minutes28 seconds

Arithmetic Operators Classroom Exercises

08 minutes42 seconds

Relational operators

09 minutes36 seconds

Basic use of logical operators

12 minutes09 seconds

short circuit with and and short circuit or

10 minutes01 seconds

Basic usage of assignment operators

18 minutes24 seconds

Assignment operation classic interview questions

06 minutes08 seconds

operator precedence

09 minutes09 seconds

Other operators

16 minutes32 seconds
Chapter9Keyboard input statement

Get user terminal input

17 minutes28 seconds
Chapter10computer base

Introduction to computer base

13 minutes50 seconds

Convert other bases to decimal

12 minutes51 seconds

Convert decimal to other bases

07 minutes34 seconds

Convert binary to other bases

05 minutes36 seconds

Convert other bases to binary

05 minutes09 seconds

Original code, inverse code, complement code

14 minutes36 seconds

An in-depth explanation of bit operations

19 minutes47 seconds
Chapter11process control

Introduction to process control

10 minutes29 seconds

Basic use of single branch

12 minutes12 seconds

Single branch flowchart and details

10 minutes16 seconds

Basic use of dual branches

08 minutes27 seconds

Dual branch flowchart and details

06 minutes59 seconds

Single branch and double branch classroom exercises (1)

10 minutes03 seconds

Single branch and double branch classroom exercises (2)

14 minutes04 seconds

Basic use of multiple branches

21 minutes04 seconds

Multi-branch application cases

30 minutes25 seconds

Nested branches

27 minutes12 seconds

basic use of switch

21 minutes18 seconds

switch usage details (1)

20 minutes26 seconds

switch usage details (2)

19 minutes44 seconds

Classroom exercises for switch

18 minutes41 seconds
Chapter12loop control

Basic introduction and introduction to loop control

10 minutes18 seconds

for loop syntax and execution flow

19 minutes21 seconds

for loop considerations and details (1)

13 minutes52 seconds

for loop considerations and details (2)

20 minutes01 seconds

for loop classroom exercises

10 minutes41 seconds

Implement while and dowhile control

14 minutes10 seconds

Multiple cycle application cases

34 minutes05 seconds

Classic case printing hollow pyramid

29 minutes43 seconds

Classic case ninety-nine multiplication tables

08 minutes00 seconds

Process control after-class exercise instructions

04 minutes03 seconds

break introduction and quick start

19 minutes47 seconds

break syntax and flow chart

05 minutes47 seconds

break precautions and details

14 minutes31 seconds

break classroom exercises

12 minutes28 seconds

continue introduction and flow chart

08 minutes09 seconds

continue execution process analysis

08 minutes22 seconds

continue classroom exercises

20 minutes24 seconds

goto and return

19 minutes51 seconds
Chapter13Functions and packages

Why functions are needed

15 minutes53 seconds

Function introduction and application cases

19 minutes05 seconds

Principles of introduction and use of packages

17 minutes30 seconds

Quick start with packages

19 minutes25 seconds

Precautions and details for package use (1)

17 minutes25 seconds

Package usage notes and library files (2)

16 minutes18 seconds

Underlying analysis of function calling mechanism

45 minutes21 seconds

Recursive call process analysis

32 minutes29 seconds

Recursive call class exercise

14 minutes14 seconds

Recursive call class exercise (2)

11 minutes16 seconds

Function notes and details (1)

28 minutes18 seconds

Function notes and details (2)

30 minutes28 seconds

Function notes and details (3)

13 minutes02 seconds

Function classroom exercises

12 minutes25 seconds

init function

20 minutes11 seconds

anonymous function

14 minutes09 seconds

Basic introduction to closures

22 minutes56 seconds

Closure Best Practices and Analysis

18 minutes47 seconds

Basic usage of defer

13 minutes05 seconds

defer considerations and best practices

14 minutes47 seconds

Function parameter passing method

13 minutes26 seconds

variable scope

17 minutes06 seconds

Variable scope classroom exercises

11 minutes14 seconds

Function Class Exercises and Assignments

19 minutes28 seconds
Chapter14Go function

Detailed explanation of Go string functions (1)

38 minutes58 seconds

Detailed explanation of Go string functions (2)

16 minutes17 seconds

Detailed explanation of Go string functions (3)

09 minutes09 seconds

Detailed explanation of Go time and date functions (1)

24 minutes36 seconds

Detailed explanation of Go time and date functions (2)

16 minutes09 seconds

Go time function classroom exercises

07 minutes08 seconds

Go built-in functions

18 minutes40 seconds
Chapter15Error handling mechanism

Go error handling mechanism

21 minutes06 seconds

Custom errors in Go

13 minutes13 seconds

Go function after-class exercise arrangement

05 minutes45 seconds
Chapter16array

Array usage value

15 minutes24 seconds

A quick start with arrays

13 minutes47 seconds

Array definition and memory layout

20 minutes01 seconds

Use of arrays

15 minutes01 seconds

Array for-range traversal

16 minutes29 seconds

Array Notes and Details (1)

16 minutes13 seconds

Array considerations and details (2)

29 minutes59 seconds

Array application examples (1)

16 minutes23 seconds

Array application examples (2)

08 minutes16 seconds

Array complex application-reversal

20 minutes46 seconds
Chapter17slice

Basic introduction and introduction to slicing

18 minutes56 seconds

Memory layout analysis of slices

19 minutes43 seconds

Three ways to use slices

21 minutes38 seconds

Differential analysis using slices

04 minutes31 seconds

Slice traversal

05 minutes58 seconds

Slicing considerations and details (1)

14 minutes48 seconds

Slicing considerations and details (2)

27 minutes03 seconds

Slicing considerations and details (3)

12 minutes30 seconds

string and slice

18 minutes08 seconds

Slicing Classroom Exercises

12 minutes14 seconds
Chapter18Sort and search

Basic introduction to array sorting

10 minutes17 seconds

Analysis of bubble sorting ideas

16 minutes45 seconds

Implementation of bubble sort

17 minutes56 seconds

sequential search

15 minutes24 seconds

Analysis of ideas of binary search

14 minutes43 seconds

Code implementation of binary search

12 minutes26 seconds
Chapter19Two-dimensional array

Introduction and Getting Started with Two-Dimensional Arrays

15 minutes37 seconds

Two-dimensional array usage and memory layout

23 minutes35 seconds

Two-dimensional array traversal method

08 minutes36 seconds

Two-dimensional array application examples

16 minutes17 seconds

Array and search assignments

07 minutes04 seconds
Chapter20map

Introduction and declaration of map

20 minutes26 seconds

Three usages and application examples of map

18 minutes51 seconds

crud operation of map

16 minutes29 seconds

map traversal

12 minutes56 seconds

map slice

17 minutes36 seconds

map sorting

12 minutes49 seconds

Map usage details and pitfalls

18 minutes37 seconds

map comprehensive application examples

14 minutes13 seconds
Chapter21object-oriented

The necessity of object-oriented programming

18 minutes18 seconds

Go’s unique object-oriented features

11 minutes03 seconds

Quick Start with GO Object-Oriented Programming

18 minutes51 seconds

struct memory layout

11 minutes11 seconds

Structure declaration and usage pitfalls

36 minutes35 seconds

Four ways to create structure instances

23 minutes04 seconds

Structure memory allocation mechanism

27 minutes16 seconds

Structure usage details (1)

23 minutes36 seconds

Structure usage details (2)

11 minutes38 seconds

Structure usage details (3)

19 minutes44 seconds
Chapter22method

Method introduction and use

22 minutes50 seconds

A quick start with methods

10 minutes59 seconds

Method calling and parameter passing mechanism

24 minutes06 seconds

In-depth analysis of method usage (1)

24 minutes00 seconds

In-depth analysis of method usage (2)

14 minutes22 seconds

Method Classroom Exercises (1)

11 minutes07 seconds

Method Classroom Exercises (2)

23 minutes03 seconds

Explanation of the difference between methods and functions

22 minutes17 seconds
Chapter23Object-oriented programming ideas

Object-oriented programming application examples

27 minutes13 seconds

Create a struct instance to specify field values

19 minutes37 seconds

Detailed explanation of factory mode

32 minutes24 seconds

vscode configuration and shortcut keys

29 minutes32 seconds

Object-oriented programming ideas-abstraction

24 minutes57 seconds

Object-oriented programming - introduction to encapsulation

15 minutes18 seconds

Package quick start case

17 minutes24 seconds

Encapsulation classroom exercises explained

16 minutes23 seconds

Object-oriented programming - inheritance and introduction

17 minutes41 seconds

Inherit basic syntax

11 minutes09 seconds

Inherit quick start application example

16 minutes31 seconds

In-depth discussion of inheritance (1)

22 minutes13 seconds

In-depth discussion of inheritance (2)

28 minutes55 seconds

Introduction to multiple inheritance

14 minutes15 seconds

Interface introduction and quick start

21 minutes14 seconds

Interface features and syntax description

13 minutes43 seconds

Description of interface application scenarios

08 minutes00 seconds

Interface considerations and details (1)

11 minutes04 seconds

Interface considerations and details (2)

23 minutes23 seconds

Interface classroom exercises

12 minutes41 seconds

Classic cases of interface programming

41 minutes02 seconds

Comparison between implementing interfaces and inheritance (1)

19 minutes01 seconds

Comparison between implementing interfaces and inheritance (2)

11 minutes51 seconds

Polymorphism and manifestation

15 minutes44 seconds

Type assertion elicitation and basic usage

25 minutes05 seconds

Type assertion best practices (1)

14 minutes31 seconds

Type assertion best practices (2)

18 minutes17 seconds
Chapter24Household income and expenditure accounting items

Introduction to household income and expenditure accounting projects

04 minutes21 seconds

Introduction to project development process

27 minutes26 seconds

Household budget software requirements and interfaces

07 minutes06 seconds

Household Income and Expenditure Software-Show Main Menu

13 minutes44 seconds

Income and expenditure software-details and registration of income

19 minutes12 seconds

Income and Expenditure Software - Register Expenditures and Complete Exits

11 minutes41 seconds

Income and expenditure software-improve detailed display

08 minutes00 seconds

Income and expenditure software-object-oriented approach

36 minutes23 seconds
Chapter25Customer management system

Requirements analysis and interface

10 minutes17 seconds

Program framework diagram (1)

08 minutes21 seconds

Program framework diagram (2)

12 minutes26 seconds

Main menu and exit

28 minutes54 seconds

Show customer list

35 minutes34 seconds

add customer

27 minutes35 seconds

Delete customer

29 minutes05 seconds

Modify clients and jobs

13 minutes23 seconds
Chapter26document

Basic introduction to files

10 minutes14 seconds

Open files and close files

13 minutes07 seconds

Buffered Reader reads files

14 minutes48 seconds

Read file in one go

10 minutes14 seconds

Create file and write content

24 minutes01 seconds

Four ways to write files

21 minutes42 seconds

Determine the existence of a file or directory

13 minutes21 seconds

Copy files (pictures, videos and audio)

19 minutes39 seconds

Count the number of characters of different types

21 minutes32 seconds

Basic use of command line parameters

09 minutes14 seconds

The flag package parses command line parameters

16 minutes36 seconds
Chapter27Json

json introduction and application scenarios

16 minutes26 seconds

json format and online parsing

15 minutes22 seconds

Structure map slice serialization

29 minutes58 seconds

tag used when serializing struct

13 minutes51 seconds

Deserialization introduction and application examples

33 minutes38 seconds
Chapter28unit test

Introduction to unit testing

15 minutes34 seconds

Quick Start with Unit Testing

30 minutes58 seconds

Unit test details

13 minutes54 seconds

Comprehensive case for unit testing

38 minutes11 seconds
Chapter29_goroutine

Export of _goroutine

08 minutes39 seconds

_Basic introduction to goroutine

21 minutes04 seconds

go coroutine and go main thread

10 minutes35 seconds

Quick Start with Coroutines

12 minutes52 seconds

Introduction to MPG mode

22 minutes29 seconds

Go sets the number of running cpu

07 minutes21 seconds

Coroutine concurrency (parallel) resource competition problem

23 minutes18 seconds

Global mutex solves resource competition

24 minutes33 seconds
Chapter30pipeline

Basic introduction to pipelines

13 minutes28 seconds

Pipeline Quick Start Case

18 minutes59 seconds

Piping Details and Classroom Exercises

22 minutes50 seconds

Pipe closing and traversal

19 minutes44 seconds

Comprehensive case of coroutines and pipelines

28 minutes46 seconds

The mechanism of pipe blocking

14 minutes53 seconds

Analysis of Ctrip’s ideas for finding prime numbers

16 minutes05 seconds

Code implementation of coroutine for finding prime numbers

29 minutes45 seconds

Code efficiency test for coroutine finding prime numbers

17 minutes39 seconds

Plumbing Precautions and Details (1)

10 minutes40 seconds

Piping Precautions and Details (2)

16 minutes07 seconds

Piping Precautions and Details (3)

09 minutes21 seconds
Chapter31reflection

Introduction and application scenarios of reflection

08 minutes28 seconds

Basic introduction and schematic diagram of reflection

17 minutes53 seconds

Reflection related functions and transformations

13 minutes20 seconds

A quick primer on reflection (1)

17 minutes20 seconds

A quick primer on reflection (2)

39 minutes16 seconds

Reflection considerations and details (1)

09 minutes51 seconds

Reflection considerations and details (2)

15 minutes01 seconds

Reflection exercises

06 minutes31 seconds

Best Practices for Reflection (1)

31 minutes09 seconds

Reflection Best Practices (2)

13 minutes02 seconds
Chapter32network programming

Basic introduction to network programming (1)

11 minutes40 seconds

Basic knowledge of network programming (2)

29 minutes50 seconds

IP and port for network programming

17 minutes47 seconds

TCP Programming Quick Start Case Analysis

20 minutes17 seconds

TCP Programming-Server Listening

21 minutes59 seconds

Server receives client message

46 minutes35 seconds

The server loops to receive client messages

16 minutes09 seconds

Massive user instant messaging system requirements

11 minutes57 seconds
Chapter33Redis

Basic introduction and principle illustration of redis

15 minutes40 seconds

Basic use of redis

15 minutes05 seconds

Redis squadron string operations

18 minutes53 seconds

Basic use of Hash in redis

08 minutes03 seconds

Details of using Hash in redis

12 minutes20 seconds

Basic introduction to List in redis

12 minutes16 seconds

Basic use of List in redis

07 minutes08 seconds

Details of using List in redis

02 minutes57 seconds

Introduction and use of Set in redis

08 minutes10 seconds

Go connect to redis

19 minutes27 seconds

Go operates redis (string type)

08 minutes40 seconds

Go operates redis (hash type)

20 minutes43 seconds

Introduction and principles of redis connection pool

10 minutes21 seconds

Use cases of redis connection pool

20 minutes36 seconds
Chapter34Mass user communication system

Complete interface

33 minutes10 seconds

Analysis of sending and receiving messages

30 minutes08 seconds

Server received length

01 Hours05 minutes35 seconds

Server receives message -1

31 minutes50 seconds

Server receives message -2

10 minutes17 seconds

Login (specified user)

54 minutes07 seconds

Server-side structure improvement-1

18 minutes52 seconds

Server-side structure improvement-2

01 Hours01 minutes37 seconds

Client structure improvements-1

14 minutes25 seconds

Client structure improvements-2

49 minutes30 seconds

redis user verification analysis

15 minutes16 seconds

redis add user

08 minutes17 seconds

User login (1)

32 minutes49 seconds

User login(2)

50 minutes10 seconds

User registration (1)

28 minutes54 seconds

User registration (2)

38 minutes27 seconds

Show online user list (1)

38 minutes27 seconds

Show online user list (2)

16 minutes34 seconds

Show online user list (3)

15 minutes44 seconds

Show online user list (4)

22 minutes01 seconds

Show online user list (5)

12 minutes24 seconds

Show online user list (6)

34 minutes09 seconds

Show online user list (7)

47 minutes05 seconds

Analysis of client messaging ideas

10 minutes23 seconds

Client message sending code implementation

38 minutes37 seconds

Analysis of ideas for forwarding messages on the server side

06 minutes25 seconds

Server-side message forwarding code implementation

Project summary

11 minutes45 seconds
Chapter35Data structures and algorithms

basic introduction

34 minutes10 seconds

Introduction to sparse arrays

16 minutes33 seconds

Convert original array to sparse array

Convert sparse array to original array

13 minutes59 seconds

Array simulation queue analysis

Array simulation queue implementation

Array simulates circular queue

Array simulation circular queue implementation

Basic introduction to singly linked lists

Adding and displaying singly linked lists

Orderly insertion into singly linked list

Deletion of singly linked list

Introduction to doubly linked list

Doubly linked list creation and output

Deletion of doubly linked list

Create and display circular linked lists

Deletion of circular linked list

Linked list job arrangement

Joseph problem analysis

joseph problem solving(1)

Joseph problem solving (2)

selection sort

Insertion sort analysis

17 minutes12 seconds

Insertion sort implementation

Insertion sort summary

quicksort

stack

Push operations and traversal

Stack pop operation

Stack calculation expression (1)

Stack calculation expression (2)

Stack calculation expression (3)

Stack calculation expression (4)

Sorting speed comparison

Analysis of recursive mechanism

Notes on recursion

Maze backtracking problem (1)

Maze backtracking problem (2)

Hash table (hash) - 1

Hash table (hash)-2

Hash table (hash)-3

Hash table (hash) - 4

16 minutes41 seconds

Three ways to traverse a binary tree

24 minutes33 seconds

Installation of vscode plug-in

vscode shortcut keys

Conclusion

04 minutes37 seconds
  • CancelreplySending
  • Cancelpost a noteSending