Hongtech.mrleong.net·May 6, 2024Gin vs. Fiber: A Quick 2-Minute ComparisonBoth Gin and Fiber claim to be high-performance web frameworks. This is a quick comparison for busy developers. Fiber Strengths: Performance: Fiber boasts excellent performance, often exceeding Gin in benchmarks, especially for simple use cases. It...DiscussProTipsGo
Sahil Rathodoperationsguy.hashnode.dev·May 1, 2024functions and loops in golangWe have already seen functions and used them, but let's just get a refresher of them quickly. package main import "fmt" func add(x, y int) (int, int) { return x + y, x - y } func main() { fmt.Println(add(2, 2)) } a function can take one ...Discuss·10 likeslearning-goGo Language
Nitin Shuklablogsbynitin.hashnode.dev·Apr 28, 2024Why You should Learn Go(Golang) in 2024Introduction Go, commonly referred to as Golang, is an open-source programming language developed by some distinguished Google engineers Robert Griesemer, Rob Pike, and Ken Thompson. It was officially announced in November 2009 and made available to ...Discuss·76 readsgolang
Mingyong Chenchenmingyong.hashnode.dev·Apr 24, 2024go-mongox: Generic Collection, Streamlined Document Operations, Efficient Build Bson, Plugin ProgrammingWhat is go-mongox? go-mongox is a generics-based library that extends the official MongoDB framework. Utilizing generic programming, it facilitates the binding of structs to MongoDB collections, aiming to provide type safety and streamlined data oper...Discuss·38 readsgo-mongox
Faeka Ansarifyka.hashnode.dev·Apr 6, 2024Slice Secrets in GoLangSlices are one of the most versatile and powerful data structures in Go, offering flexibility and efficiency in managing collections of data, and extremely used in literally every Go Program I have came across. However, there's more to slices than me...Discussgolang
Shounak Khulapeshounakkhulape.hashnode.dev·Feb 19, 2024Go - Control FlowControl Flow if-elseif if condition { // executes when condition is true } main.go package main import "fmt" func main() { var a string = "happy" if a == "happy" { fmt.Println(z) } } >>> ...Discuss·27 readsGo Language basicGo Language
Aswin Bennyblog.aswinbenny.in·Jan 24, 2024Building a Concurrent Go Web Server with Worker PoolsGo's implementation of web server already uses go routines on every request. So isn't it the best performance you can get ? Yes it is. But then what is the purpose of this article ? This article provides a way for the web server to provide instant re...Discuss·105 readsGolangconcurr
oky saputraoky31.hashnode.dev·Nov 6, 2023Journey #3 - Create UserDi journey #2, telah membuat test case untuk CreateUserHandler , untuk melengkapi handler tersebut akan kita mulai dari beberapa tahap berikut Pemilihan Database karena app ini akan berbasis sql maka akan mengunakan sql driver yang di rekomendasikan,...Discuss·26 readsEducational Project (fake-market-place)Go Language
Claudclaudbytes.hashnode.dev·Aug 13, 2023Build a Credit Card validator using GoIntroduction 🪩 In this tutorial, we will build a credit card validator using Go and the Luhn Algorithm. The Luhn algorithm is a mathematical formula used to validate credit card numbers. We are going to write a function that implements it and use it...Discuss·10 likes·112 readsLearning Go 🚀Go Language
Chetan Thapliyalblog.chetan-thapliyal.cloud·Aug 7, 2023Mastering the Basics of Go Programming (Blog 2 of the Go Series)Go, the versatile programming language employs a structured approach to code organization through packages. Every Go file commences with a crucial package clause, setting the stage for effective software structuring. Within a package, you'll find one...Discuss·44 readsGolangGo Language