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.

Image of Timescale

πŸš€ pgai Vectorizer: SQLAlchemy and LiteLLM Make Vector Search Simple

We built pgai Vectorizer to simplify embedding management for AI applicationsβ€”without needing a separate database or complex infrastructure. Since launch, developers have created over 3,000 vectorizers on Timescale Cloud, with many more self-hosted.

Read full post β†’

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

nextjs tutorial video

Youtube Tutorial Series πŸ“Ί

So you built a Next.js app, but you need a clear view of the entire operation flow to be able to identify performance bottlenecks before you launch. But how do you get started? Get the essentials on tracing for Next.js from @nikolovlazar in this video series πŸ‘€

Watch the Youtube series