Zed is a high-performance code editor (IDE) π developed by the creators of Atom and Tree-sitter.
It is currently available in beta and is exclusive to Mac users π.
πThis tutorial considers that you already have Go configured on your machine, if you don't already have it, do it right now: Installing Go.
To create a Hello World in Go just follow the steps below:
- Create a file called
main.go
, then put the code below in it:
package main
import "fmt"
func main() {
fmt.Println("Hello, world!")
}
- Open the terminal and execute the
go run main.go
command as shown in the image below:
...And a new Hello world has just been born π₯³π.
Although Zed is still in a beta version, it already has several cool features, such as collaboration with your team in integration with GitHub and othersβ¦
Cover image made with Canva.
Top comments (0)