Qiita Teams that are logged in
You are not logged in to any team

Log in to Qiita Team
Community
OrganizationAdvent CalendarQiitadon (β)
Service
Qiita JobsQiita ZineQiita Blog
Help us understand the problem. What is going on with this article?

importについて

More than 1 year has passed since last update.

書き方

//ひとつのとき
import "fmt"

//複数のとき
import (
    "fmt"
    "time"
)

注意

package main

import (
    "fmt"
    "time"
)

func main() {
    fmt.Println("hello world")
}

"time"がインポートされてるのに、関数で使ってない場合はエラー扱いになる。

参考
現役シリコンバレーエンジニアが教えるGo入門(https://www.udemy.com/share/100BhMB0obeFpbTX4=/)

Take_jpn
パダワンエンジニアの学習帳
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