---
title: "Discussion on \"errors.New vs fmt.Errorf ?\" | Hashnode"
description: "Discussion on \"errors.New vs fmt.Errorf ?\". I have begun learning Go lang recently. I chose Go lang because of performance issues and Its syntax and abilities took my attention. So I read documents and watched videos on YT and Udemy, and I began coding my first project. However, I was disappoi..."
url: "https://hashnode.com/posts/errorsnew-vs-fmterrorf/61a4b7c92be89f3d0ab9fad1"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [errors.New vs fmt.Errorf ?](https://blog.imberkay.com/errorsnew-vs-fmterrorf?utm_source=hashnode&utm_medium=feed)

I have begun learning Go lang recently. I chose Go lang because of performance issues and Its syntax and abilities took my attention. So I read documents and watched videos on YT and Udemy, and I began coding my first project. However, I was disappoi...

Nov 29, 2021 · 2 min read · blog.imberkay.com  
Read the article

-   [#go](https://hashnode.com/tag/go)
-   [#error-handling](https://hashnode.com/tag/error-handling)

## Written by

[Berkay Akyazı](https://hashnode.com/@bakyazi)

@bakyazi · Ankara, TR

  
[View profile](https://hashnode.com/@bakyazi)

Java, Python, React

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
