Help us understand the problem. What is going on with this article?

Go入門 その1 Hello World

More than 3 years have passed since last update.

開発環境

環境は下記の通り

- Go入門@環境構築編(IntelliJ IDEA 14.1.4)

実装

IntelliJ IDEAは補完機能が充実しているため、
写経もほとんど必要なし

  1. File->New->新規Project
  2. Goを選択でOK
  3. 新規->GoFile->Name[main(任意)] Kind[Simple Application] go_01_01.jpg
  4. func main() の中に実装。補完候補が出るのでfmt->Printlnで補完入力。
  5. 補完で入力すれば、importまで自動で行ってくれる。ページ末を写経。
  6. 右クリック 実行Run main.go で実行
package main
import "fmt"

func main() {
    fmt.Println("HalloGo")
}
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
No comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
ユーザーは見つかりませんでした