--- 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
Sign in via Google
Sign in via Facebook
Sign in via X(Twitter)
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
Continue with a different method
New to HackMD?
Sign up
By signing in, you agree to our
terms of service
.