メインコンテンツへスキップ
Academind
すべてのコース

Academind Proのコース

Go - The Complete Guide

Learn Go ("Golang") from the ground up & in great depth by building multiple demo projects, incl. a REST API

  • 12セクション · 196件のレクチャー
  • 合計15 時間 18 分

このコースについて

You’ve skimmed a few Go tutorials, maybe copied some snippets, and still feel unsure what “idiomatic Go” actually looks like when you sit down to write real code. The language feels simple—until you hit data modeling, errors, and concurrency and everything gets fuzzy.

This course gives you a structured path through Go that doesn’t stop at syntax. You’ll build understanding step by step, then reinforce it by applying concepts in multiple demo projects—so the ideas stick when you’re working on your own backend services.

By the end, you’ll be able to design and implement complete Go programs with confidence: organize code into packages, model data cleanly, handle failures predictably, and ship a working backend service that connects to a SQL database and protects endpoints with authentication.

学べること

You’ll go beyond “hello world” and learn the Go patterns you need to write maintainable programs, handle real data, and build production-style backend features.

  1. 01

    Write core Go code

    Build programs using Go’s values, variables, types, and control structures, and confidently compose logic with functions—so you can turn requirements into working code without guesswork.

  2. 02

    Use pointers effectively

    Work with pointers to control how data is passed and updated, and avoid common pitfalls when you need shared state or efficient updates across functions.

  3. 03

    Model data structures

    Structure and store data with struct types, arrays, slices, and maps, choosing the right shape for the job and manipulating collections cleanly and safely.

  4. 04

    Build concurrent workflows

    Implement concurrent execution with goroutines and coordinate work using channels, so you can design Go programs that handle multiple tasks efficiently.

  5. 05

    Design with interfaces

    Use interfaces to decouple components and write flexible code that’s easier to extend and test, while keeping implementations clean and focused.

  6. 06

    Handle errors and packages

    Apply Go-style error handling and organize code with packages, so your projects stay readable, scalable, and easier to maintain as they grow.

前提条件

  • Basic programming experience in any language is strongly recommended.

  • No prior Go knowledge is required.

このコースの対象者

  • New Go learners

    You’re new to Go and want more than quick snippets—you want a deep understanding that helps you write your own programs without constantly searching for patterns.

  • Working developers

    You already code in another language and want to add Go to your toolkit for backend development, cloud services, or performance-focused applications.

  • Go refreshers

    You’ve started with Go before (or used it at work) but feel gaps in fundamentals or confidence, and you want a thorough, practical reset.

カリキュラム

始める前に、このコースの構成とペースをご確認ください。

  1. 1Getting Started8件のレクチャー · 13 分
    1. 01Welcome To The Course!1:05分
    2. 02What Is Go? And Why Is It Awesome?1:48分
    3. 03Installing Go (Alternative: Web-based Setup)1:49分
    4. 04Local Code Editor Setup For Go Development1:41分
    5. 05Writing a First Go Program2:03分
    6. 06About The Course & Course Content1:23分
    7. 07How To Get The Most Out Of This Course3:23分
    8. 08Join Our Learning Community0:00分
  2. 2Go Essentials44件のレクチャー · 3 時間 16 分
    1. 01Module Introduction1:16分
    2. 02Working with Functions & Values3:47分
    3. 03Organizing Code with Packages3:53分
    4. 04The Important Of The Name "main"1:53分
    5. 05Understanding Go Modules & Building Go Programs4:33分
    6. 06The "main" Function Is Important!3:53分
    7. 07Onwards To A New Project2:22分
    8. 08Working with Variables, Values & Operators5:35分
    9. 09Understanding Value Types5:21分
    10. 10Go Types & Null Values0:00分
    11. 11Outputting Values3:13分
    12. 12Type Conversions & Explicit Type Assignment4:21分
    13. 13Using Alternative Variable Declaration Styles5:27分
    14. 14Making Sense of Constant Values ("Constants")4:29分
    15. 15Understanding the Importance Of Variables6:32分
    16. 16Improved User Input Fetching5:22分
    17. 17fmt.Scan() Limitations0:00分
    18. 18Exercise: Building a Profit Calculator1:18分
    19. 19Exercise Solution8:13分
    20. 20Formatting Strings (Text) - Basics7:29分
    21. 21Formatting Floats in Strings2:41分
    22. 22Creating Formatted Strings3:45分
    23. 23Building Multiline Strings2:26分
    24. 24Understanding Functions9:04分
    25. 25Functions: Return Values & Variable Scope11:07分
    26. 26An Alternative Return Value Syntax2:31分
    27. 27Exercise: Working with Functions8:59分
    28. 28Onwards to Control Structures5:28分
    29. 29Introducing "if" Statements & Booleans5:51分
    30. 30Working with "else if"4:21分
    31. 31Exercise: "if" Statements2:04分
    32. 32Using "else"2:02分
    33. 33Nested "if" Statements & Using "return" To Stop Function Execution4:51分
    34. 34Repeating Code With "for" Loops4:03分
    35. 35Infinite Loops, "break" & "continue"4:59分
    36. 36Conditional For Loops0:00分
    37. 37Making Sense of "switch" Statements5:18分
    38. 38Writing To Files6:08分
    39. 39Reading From Files6:47分
    40. 40Handling Errors8:01分
    41. 41Time to Panic!2:04分
    42. 42Section Exercise - The Task1:44分
    43. 43Section Exercise - Solution11:29分
    44. 44Module Summary1:08分
  3. 3Working with Packages9件のレクチャー · 24 分
    1. 01Module Introduction0:54分
    2. 02Splitting Code Across Files In The Same Package4:19分
    3. 03Why Would You Use More Than One Package?1:32分
    4. 04Preparing Code For Multiple Packages3:41分
    5. 05Splitting Code Across Multiple Packages2:41分
    6. 06Importing Packages1:37分
    7. 07Exporting & Importing Identifiers (Variables, Functions & More)2:36分
    8. 08Using Third-Party Packages5:36分
    9. 09Module Summary1:00分
  4. 4Understanding Pointers10件のレクチャー · 23 分
    1. 01Module Introduction0:30分
    2. 02Understanding Pointers6:04分
    3. 03Writing Code Without Pointers3:17分
    4. 04Creating a Pointer1:39分
    5. 05A Pointer's Null Value0:00分
    6. 06Pointers as Values1:56分
    7. 07Using Pointers & Passing Pointers To Functions3:28分
    8. 08Using Pointers For Data Mutation4:08分
    9. 09Example: The Scan() Function Uses Pointers0:59分
    10. 10Module Summary0:34分
  5. 5Structs & Custom Types25件のレクチャー · 1 時間 49 分
    1. 01Module Introduction1:07分
    2. 02The Starting Project0:53分
    3. 03Which Problem Do Structs Solve?2:27分
    4. 04Defining A Struct Type4:43分
    5. 05Instantiating Structs & Struct Literal Notation3:28分
    6. 06Alternative Struct Literal Notation & Struct Null Values2:24分
    7. 07Passing Struct Values As Arguments2:33分
    8. 08Structs & Pointers3:21分
    9. 09Introducing Methods4:28分
    10. 10Mutation Methods6:02分
    11. 11Using Creation / Constructor Functions4:56分
    12. 12Using Constructor Functions For Validation4:52分
    13. 13Structs, Packages & Exports5:20分
    14. 14Exposing Methods & A Different Constructor Function Name5:38分
    15. 15Struct Embedding7:56分
    16. 16Structs - A Summary2:57分
    17. 17Creating Other Custom Types & Adding Methods5:16分
    18. 18Practice Project: Getting User Input7:35分
    19. 19Practice Project: Creating a Struct & Constructor Function7:17分
    20. 20Practice Project: Adding a Method3:34分
    21. 21Practice Project: Handling Long User Input Text6:13分
    22. 22Practice Project: Preparing Save To File Functionality4:14分
    23. 23Practice Project: Encoding JSON Content5:15分
    24. 24Practice Project: Fixes2:13分
    25. 25Understanding Struct Tags4:17分
  6. 6Interfaces & Generic Code11件のレクチャー · 44 分
    1. 01Module Introduction0:25分
    2. 02Preparing An Interface Use-Case3:36分
    3. 03Finishing Interface Preparations3:10分
    4. 04Creating a First Interface5:16分
    5. 05Using The Interface5:16分
    6. 06Embedded Interfaces6:09分
    7. 07The Special "Any Value Allowed" Type2:07分
    8. 08Working with Type Switches3:36分
    9. 09Extracting Type Information From Values5:13分
    10. 10Interfaces, Dynamic Types & Limitations3:57分
    11. 11Introducing Generics5:31分
  7. 7Managing Related Data with Arrays, Slices & Maps17件のレクチャー · 1 時間 43 分
    1. 01Introducing Arrays8:02分
    2. 02Module Introduction1:19分
    3. 03Working with Arrays6:20分
    4. 04Selecting Parts of Arrays With Slices3:25分
    5. 05More Ways Of Selecting Slices4:29分
    6. 06Diving Deeper Into Slices9:41分
    7. 07Building Dynamic Lists With Slices9:23分
    8. 08Exercise - Problem4:12分
    9. 09Exercise - Solution19:59分
    10. 10Unpacking List Values3:29分
    11. 11Introducing Maps6:42分
    12. 12Mutating Maps3:43分
    13. 13Maps vs Structs3:59分
    14. 14Using The Special "make" Function7:10分
    15. 15"make"ing Maps3:08分
    16. 16Working with Type Aliases2:33分
    17. 17For Loops with Arrays, Slices & Maps5:24分
  8. 8Functions: Deep Dive8件のレクチャー · 57 分
    1. 01Module Introduction1:04分
    2. 02Functions as Values & Function Types15:07分
    3. 03Returning Functions As Values6:20分
    4. 04Introducing Anonymous Functions6:34分
    5. 05Understanding Closures6:44分
    6. 06Making Sense Of Recursion11:22分
    7. 07Using Variadic Functions6:49分
    8. 08Splitting Slices Into Parameter Values3:04分
  9. 9Practice Project: Price Calculator16件のレクチャー · 1 時間 28 分
    1. 01Module Introduction1:45分
    2. 02Building a First, Basic Version Of The Program9:45分
    3. 03Setting Up A First Struct3:40分
    4. 04Adding a Constructor Function3:05分
    5. 05Adding a Method7:08分
    6. 06Loading Data From A File8:13分
    7. 07Working With The File Data7:13分
    8. 08Outsourcing Sharable Logic Into A Package5:27分
    9. 09Outsourcing File Access Into A Package5:39分
    10. 10Storing JSON Data In Files8:35分
    11. 11Adding a FileManager Struct8:16分
    12. 12Adding & Using Struct Tags2:46分
    13. 13Working on a Swappable Struct7:55分
    14. 14Interfaces To The Rescue4:28分
    15. 15Error Handling2:53分
    16. 16Module Summary1:13分
  10. 10Concurrency - Running Tasks In Parallel10件のレクチャー · 42 分
    1. 01Introducing Goroutines1:43分
    2. 02Module Introduction0:52分
    3. 03Running Functions As Goroutines3:18分
    4. 04Understanding Goroutine Behavior1:42分
    5. 05Introducing & Using Channels4:28分
    6. 06Working with Multiple Channels & Goroutines8:34分
    7. 07Goroutines & Channels in a Project9:57分
    8. 08Setting Up An Error Channel3:27分
    9. 09Managing Channels with the "select" Statement5:46分
    10. 10Deferring Code Execution with "defer"2:38分
  11. 11Course Project: Build a REST API (incl. Authentication & SQL Database)37件のレクチャー · 3 時間 38 分
    1. 01Module Introduction1:27分
    2. 02Planning The API4:09分
    3. 03Installing the Gin Framework2:17分
    4. 04Setting Up A First Route & Handling a First Request11:54分
    5. 05Setting Up An Event Model4:05分
    6. 06Registering a POST Route8:45分
    7. 07Testing Requests & Fixing the POST Request Handler7:01分
    8. 08Adding a SQL Database8:27分
    9. 09Creating A SQL Database Table5:49分
    10. 10Storing Data in the Database (INSERT)6:32分
    11. 11Preparing Statements vs Directly Executing Queries (Prepare() vs Exec()/Query())0:00分
    12. 12Getting Events From Database (SELECT)8:31分
    13. 13Getting Single Event Data By ID12:09分
    14. 14Refactoring Code & Outsourcing Routes4:01分
    15. 15Registering an "Update Event" Route & Handler4:46分
    16. 16Updating Events8:00分
    17. 17Deleting Events5:49分
    18. 18Adding a "Users" Table To The SQL Database4:14分
    19. 19Adding User Signup8:31分
    20. 20Don't Store Plain-text Passwords!1:18分
    21. 21Hashing Passwords5:01分
    22. 22Getting Started with Auth Tokens (JWT)2:23分
    23. 23Getting Started with the Login Route10:25分
    24. 24Finishing The Login Logic5:12分
    25. 25Generating JWT7:53分
    26. 26Finishing The JWT Logic4:22分
    27. 27Adding Token Verification14:32分
    28. 28Adding Route Protection5:16分
    29. 29Retrieving & Storing User and Event IDs7:59分
    30. 30Adding an Authentication Middleware3:51分
    31. 31Enhancing & Using The Middleware7:27分
    32. 32Adding Authorization To Restrict Users From Editing & Deleting5:58分
    33. 33Adding a Registrations Table3:02分
    34. 34Registering Users7:39分
    35. 35Testing & Fixing the "Register" Route2:49分
    36. 36Cancelling Registrations5:19分
    37. 37Module Summary1:01分
  12. 12Course Roundup1件のレクチャー · 1 分
    1. 01Course Roundup0:50分

始める準備はできましたか?

このコースをAcademind Proで購入するか、Academind InfiniteのAll Accessですべてのコースを利用しましょう。

ブラックフライデー: All Access 1年分が $249 $249 · までの限定価格セール価格で購入する
  • Academind Proでこのコースを購入

    $99買い切り

    税込 · 30日間返金保証

    • このコースへの無期限アクセス
    • このコースの今後のアップデートすべて
    • ダウンロード資料、コード、修了証
    Goを購入
  • Academind InfiniteのAll Access

    $25/月

    または$249 $249 /年17%お得

    • すべてのコースを、すべての機能付きで
    • 新しいコースも随時追加
    • チューター(すべての機能)
    All Accessを始める

All Accessには、Academind Proのすべてのコースも含まれます。

Academind ProとAcademind Infinite

コースもログインもそれぞれ別の、2つのプラットフォームです。

Academind Pro

pro.academind.comにある、これまでのコースプラットフォームです。Proのサブスクリプションとご購入のコースは、引き続きProでご利用いただけます。

Academind Proにログイン

Academind Infinite

AIファーストの新しいプラットフォームです。ProメンバーはProのアカウントでログインできます。Pro All AccessにはInfiniteも含まれ、すべてのコースを受講できます。

Academind Infiniteにログイン

Proのアカウントをお持ちか、Proでコースをご購入済みですか?

Infiniteに移ったのは、Proのコースの一部だけです。お持ちのコースを選んで、Infiniteでのページを開いてください。