---
title: Go入門ハンズオン [準備編]
tags:  #go  
author: [Ryuji Iwata](https://www.docswell.com/user/qt-luigi)
site: [Docswell](https://www.docswell.com/)
thumbnail: https://bcdn.docswell.com/page/K74MKD4YJ1.jpg?width=480
description: 2025年12月13日(土)に兵庫県神戸市で開催された「Go Workshop Conference 2025 IN KOBE」にて招待ワークショップとして「はじめてのGo言語教室」を開催した際に使用したテキスト「Go入門ハンズオン [準備編]」です。
published: December 14, 25
canonical: https://www.docswell.com/s/qt-luigi/ZLVDPP-the-first-go-room-setup-20251213
---
# Page. 1

![Page Image](https://bcdn.docswell.com/page/K74MKD4YJ1.jpg)

Go入門ハンズオン [準備編]
はじめてのGo言語教室
13 December 2025
Ryuji Iwata
Okayama, Japan

# Page. 2

![Page Image](https://bcdn.docswell.com/page/LJ18XZ4NEG.jpg)

Ryuji Iwata
X (Twitter) : @qt_luigi
Portfolio : sites.google.com/view/ryuji-iwata-portfolio
2

# Page. 3

![Page Image](https://bcdn.docswell.com/page/GJWZN9ZMJ2.jpg)

お品書き
• 必要なものを揃えよう
• Goを準備しよう
2 3

# Page. 4

![Page Image](https://bcdn.docswell.com/page/4EZ1391M73.jpg)

必要なものを揃えよう
3 4

# Page. 5

![Page Image](https://bcdn.docswell.com/page/Y76LXKL5JV.jpg)

Goのコードを書く人
• マスコットキャラクターと同じ呼称で「Gopher (ごーふぁー)」
3.0
Creating your own gopher.
// model sheet
The model sheet is a illustration
guideline for those who are
interested in developing their own
adaptations of the gopher.
For additional background and
guidance, please watch the
creator&#039;s Character Study video
here: https://www.youtube.com/
watch?v=4rw_B4yY69k
double tooth
or
single tooth
two ways of holding
objects: under the arm
nub, and by touch
when seated, the
bellyflesh folds
in half
back side
front side
ears blowing back,
motion lines, and
maybe a drop of
sweat for action
shots
emotions are
shown using
eye shape, no
eyebrows please
GO BRAND BOOK V 1.0 PAGE 22
go.dev/s/brandbook
4 5

# Page. 6

![Page Image](https://bcdn.docswell.com/page/G751XP1GE4.jpg)

Goを動作させるコンピューター
• OS (Windows、macOS、Linux、など) は、最新またはそれに近いものを。
• 場所はパソコン上でもクラウド上でも。
5 6

# Page. 7

![Page Image](https://bcdn.docswell.com/page/9J21X61D7R.jpg)

Go
• オープンソースで静的型付けコンパイル形式の汎用プログラミング言語。
• 標準でCLIコマンド、共有ライブラリー、Webアプリ、モバイルアプリを生成可能。
• 用途はクラウド、ミドルウェア、組み込み、ゲーム、ブロックチェーン、など。
=GO
Why Go
Learn
Docs
Packages
Community
Build simple, secure, scalable systems with Go
✓ An open-source programming language supported by Google
✓ Easy to learn and great for teams
✓ Built-in concurrency and a robust standard library
✓ Large ecosystem of partners, communities, and tools
Get Started
Download
Download packages for Windows 64-bit, macOS, Linux, and more
The go command by default downloads and authenticates modules using the Go module mirror and Go checksum database run by Google.
Learn more.
Companies using Go
Organizations in every industry use Go to power their software and services View all stories
Google
P
AMERICAN
EXPRESS
mercado
libre
bitly
CapitalOne
CLOUDFARE
Meta
WILD
LIFE
go.dev/
6 7

# Page. 8

![Page Image](https://bcdn.docswell.com/page/DEYZ89ZM7M.jpg)

テキストエディター
• コードを書くために必要。
• 無償だとVisual Studio CodeやVim、有償だとGoLand、など。
• BOMなしのUTF-8のファイルが作成できるものであればO.K.
Visual Studio Code Docs Updates Blog API Extensions MCP FAQ
Search Docs
Download
The open source
Al code editor
Download for macOS
Web, Insiders edition, or other platforms
By using VS Code, you agree to its license and privacy statement.
MailList.tsx
MailListitem.tsx
Extract MailListitem into stan
AGENT SESSIONS
LOCAL CHAT AGENT
Refactoring MailList component st...
GITHUB COPILOT CLOUD AGENT
Extract MailListitem into st... 10 min
#1 +42 -24
import { for, createSignal, createMemo } from &quot;solid-js&quot;
import { useNavigate, useParams } from &quot;@tanstack/solid-
import { getEmailsForMailbox } from &quot;~/data/emails&quot;;
import { MailListItem } from &quot;~/components/MailListItem&quot;
export function MailList() {
const params = useParams({ strict: false }) as {
mailbox?: string;
id?: string;
};
const navigate = useNavigate();
const [query, setQuery] = createSignal(&quot;&quot;);
const mailbox = () =&gt; params.mailbox || &quot;inbox&quot;;
const list = createMemo(() =&gt; {
const q = query().toLowerCase();
return getEmailsForMailbox(mailbox()).filter(
(e) =&gt;
CHAT
Please update the MailList
component to abstract mail list
items into their own standalone
component.
GitHub Copilot Cloud Agent
Delegate to cloud agent
The agent will work asynchronously to
create a pull request with your requested
changes.
code.visualstudio.com/
7 8

# Page. 9

![Page Image](https://bcdn.docswell.com/page/VJN3QL33J8.jpg)

Git
• ソースコードを管理するシステムおよびコマンド。
• 外部パッケージを入手する際に必要で、多くがGitHub上で公開。
• macOSやLinuxでは標準で対応可能、Windowsでは別途インストールが必要。
※ 今回は使用しません。
git --distributed-is-the-new-centralized
Type / to search entire site...
Git is a free and open source distributed version control system
designed to handle everything from small to very large projects with
speed and efficiency.
Git is lightning fast and has a huge ecosystem of GUIs, hosting
services, and command-line tools.
About
Git&#039;s performance and ecosystem
Tools
Command line tools, GUIs, and
hosting services
Install
Binary releases for all major
platforms.
Learn
Pro Git book, videos, tutorials,
and cheat sheet
Reference
Git&#039;s reference documentation
Community
Get involved! Bug reporting,
mailing list, chat, development
and more.
Latest source release
2.52.0
Release Notes (2025-11-27)
Install for Mac
GitHub Repository
git-scm.com/
8 9

# Page. 10

![Page Image](https://bcdn.docswell.com/page/YE99D49PE3.jpg)

Goを準備しよう
9 10

# Page. 11

![Page Image](https://bcdn.docswell.com/page/GE893Q9X7D.jpg)

ダウンロード&amp;インストール
基本は、公式サイトから対象OSのGoをダウンロードしてインストール。
go.dev/dl/
• 基本は「Featured downloads」から選択。
go.dev/dl/#featured
• 詳しい人は「Stable versions」から選択。
go.dev/dl/#stable
Featured downloads
Microsoft Windows
Windows 10 or later, Intel 64-bit
processor
go1.25.5.windows-amd64.msi
Apple macOS (ARM64)
macOS 12 or later, Apple 64-bit
processor
go1.25.5.darwin-arm64.pkg
Apple macOS (x86-64)
macOS 12 or later, Intel 64-bit
processor
go1.25.5.darwin-amd64.pkg
Linux
Linux 3.2 or later, Intel 64-bit
processor
go1.25.5.linux-amd64.tar.gz
Source
go1.25.5.src.tar.gz
go.dev/dl/#featured
10 11

# Page. 12

![Page Image](https://bcdn.docswell.com/page/LELWVXWNJR.jpg)

動作確認
1. ターミナル画面を起動。
• Windows : コマンドプロンプト、PowerShell
• macOS, Linux : ターミナル
• VS Code : メニューバーから「Terminal」-「New Terminal」を選択
2. go versionコマンドでGoが正常にインストールされていることを確認。
$ go version
go version go1.25.5 darwin/amd64
11 12

# Page. 13

![Page Image](https://bcdn.docswell.com/page/4JM9GL9QEW.jpg)

Thank you
Ryuji Iwata
Okayama, Japan
@qt_luigi
12

