--- robots: noindex, nofollow lang: ja dir: ltr breaks: false --- # [Go 言語]で Hello World ```go package main import ( "fmt" ) func main() { fmt.Println("Hello World") } ``` 行番号付きでも表示可能。 ```go= package main import ( "fmt" ) func main() { fmt.Println("Hello World") } ``` 行番号を指定することも可能。 ```go=7 func main() { fmt.Println("Hello World") } ``` [Go 言語]: https://golang.org/ "The Go Programming Language" ###### tags: `snipet` `golang` `programming` `hackmd` `markdown`
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up