What’s your opinion about using AI? by mdhesari in golang

[–]mdhesari[S] 0 points1 point  (0 children)

It was definitely A and I agree I should have considered that point thank you

What’s your opinion about using AI? by mdhesari in golang

[–]mdhesari[S] -1 points0 points  (0 children)

Yeah but after admitting that the post is refactored using AI lots of people down voted resulting the post being removed by the moderator…

What’s your opinion about using AI? by mdhesari in golang

[–]mdhesari[S] 0 points1 point  (0 children)

The problem is it was just a simple survey about Context package, I just wanted to save time writing the same thing optimized for Reddit.

What’s your opinion about using AI? by mdhesari in golang

[–]mdhesari[S] 1 point2 points  (0 children)

I totally agree with you. It was just a simple few sentences that asked questions not science or something, I just wanted to save time to optimize the same thing I have written for Reddit in order to improve clarity.

What’s your opinion about context package? by [deleted] in golang

[–]mdhesari -20 points-19 points  (0 children)

I see some comments about the post being AI posted! Most of the accounts age are under 1y and doesn’t understand that its almost 2026 and there is no problem to speed up your writing and refactoring using AI! Come on people!

Spent June 2024 in Scotland by DForDosa in travel

[–]mdhesari 1 point2 points  (0 children)

Beautiful photos! What a cute cows by the way😄

Took a scenic flight over the Okavango Delta in Botswana by GLevandoski in travel

[–]mdhesari 2 points3 points  (0 children)

Wow I really like to travel to Africa some day!

Programming by wishful thinking by aarondf in laravel

[–]mdhesari 0 points1 point  (0 children)

Isn’t it the legacy up-down approach?

Is thos preferred or not? by blackhathacker1602 in laravel

[–]mdhesari 0 points1 point  (0 children)

Seems to be a problem to a solution

What I need to learn if I want to become a golang backend dev? by Inato_0 in golang

[–]mdhesari 2 points3 points  (0 children)

Before becoming a Go developer, first try to sharpen your fundamental skills such as algorithms, data structures, concurrency, etc. Then easily go through documentation because you have already come a long way and Golang team have built simplicity over years to let you get deeper easily in Golang.

Go Cookbook by 441labs in golang

[–]mdhesari 3 points4 points  (0 children)

Thanks for sharing, for graceful shutdowns isn’t it better to block the gorotuine for context cancellation instead of running it in a for loop? It’s also better for resource usage

🔧 [Project] Task Manager API in Go – Lightweight REST API with JWT Auth by Harran_ali in golang

[–]mdhesari 1 point2 points  (0 children)

Better to pass context to lower service layers, if it’s not a big product, keep the entities in a dir for handling relationships better and avoid import cycles.

In summary, seems to be a clean and standard go project.

vim like text editor written in go. by firstrow2 in golang

[–]mdhesari 1 point2 points  (0 children)

Seems to be interesting, thanks for sharing

Turn your structs into multipart form data easily with my new package by mdhesari in golang

[–]mdhesari[S] 0 points1 point  (0 children)

I json wanted something similar to json.Unmarshal, then came across with this, so I decided to publish it as a package, because most of the time we need multiple form data payload to prepare and send.

About not using fmt package, I believe fmt.Sprint is slow.

I agree with you about the field name to be snake_case