DEV Community

Cover image for Creating a Hello World in Go with Zed πŸ™‹β€β™‚οΈπŸŒŽ
Assis Zang
Assis Zang

Posted on

11

Creating a Hello World in Go with Zed πŸ™‹β€β™‚οΈπŸŒŽ

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:

  1. Create a file called main.go, then put the code below in it:
package main

import "fmt"

func main() {
    fmt.Println("Hello, world!")
}
Enter fullscreen mode Exit fullscreen mode
  1. Open the terminal and execute the go run main.go command as shown in the image below:

Hello world in terminal

...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.

Postmark Image

Speedy emails, satisfied customers

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up

Top comments (3)

Collapse
 
cedric_tineo_6de21002e455 profile image
Cedric Tineo β€’

can you make the article shorter, it still has a tiny bit of value (not much. Would be even a greater waste of time if it contained just a tiny bit less. Posting everyday for seo is great. Posting content without value is wasting people's time.

Collapse
 
zangassis profile image
Assis Zang β€’ β€’ Edited

Hi Cedric Tineo!

I just saw your comment now, the content of the post is exactly what the title suggests: Creating a Hello World with the Zed IDE. I didn't understand what you meant.

Collapse
 
beard_programmer profile image
Viktor Shinkevich β€’

Totally agree, insta tldr to me.

That chatgpt era...

The Most Contextual AI Development Assistant

Pieces.app image

Our centralized storage agent works on-device, unifying various developer tools to proactively capture and enrich useful materials, streamline collaboration, and solve complex problems through a contextual understanding of your unique workflow.

πŸ‘₯ Ideal for solo developers, teams, and cross-company projects

Learn more

πŸ‘‹ Kindness is contagious

Please leave a ❀️ or a friendly comment on this post if you found it helpful!

Okay