Skip to main content

Create new project

UI in ide

Use UI in GoLang ide from JetBrains. This is the simplest way.

Cli

create new go application
mkdir hello
cd hello
go mod init example/user/hello
hello.go
package main

import "fmt"

func main() {
fmt.Println("Hello, World!")
}
run code
go run .