Ashishashcodes.hashnode.dev·21 hours agowhat is data race ?Lately, I have been exploring Golang; it's a fun language. so i was reading about this concept of data race ...what is data race and when does it occur,How prevent it? consider the below program:- package main import ( "sync" "fmt" ) ...Discussgolang
Jay Bamaniyajaybamaniya.hashnode.dev·Apr 17, 2024Golang String Insights: Hidden Gems for Powerful Text ManipulationGolang offers a robust set of functionalities for working with strings 1. Slices for Substrings:Go strings are immutable, but you can use slices to extract substrings without modifying the original. 2. Rune Iterations:Strings in Go are sequences ...Discussgolang
Emmanuel Soetanimmanuelsoetan.hashnode.dev·Apr 15, 2024How to Effortlessly connect to PostgreSQL with GolangWhen I tried to connect to a database for the first time I almost lost my mind. It was so frustrating and I do not want you to go through what I went through. Backend applications and databases are a pair that cannot be separated. One of the major th...Discuss·54 readsgolang
Sumit chauhansumitchauhan07.hashnode.dev·Apr 15, 2024Mastering Real-Time Communication: Unleashing the Power of Websockets in GolangIn the swiftly evolving realm of software development, propelled by advanced technologies and innovative app-building methodologies, developers are in constant search of optimal tools and approaches to construct resilient and high-performing applicat...Discuss·31 readsgolang
Think Future Technologiestftus.hashnode.dev·Apr 15, 2024Why Consider Golang Development for Your Next ProjectIn the realm of software development, choosing the right programming language is paramount to the success of a project. With an abundance of options available, one language that has been gaining significant traction in recent years is Go, also known ...Discussgolang
Animesh PathakforKeploy Community Blogkeploy.hashnode.dev·Apr 14, 2024Write Clean and Efficient Unit Tests in GoTable driven tests, also known as parameterized tests, have became very popular over the past few years, due to their ability to eliminate repetition. Table driven tests make it quite a bit easier to re-use the same values for different sets of tests...Discuss·20 likesTesting
Umang Srivastavaoutlierchronicles.hashnode.dev·Apr 14, 20241137. N-th Tribonacci NumberIn this blog lets try and understand how we can solve the 1137. N-th Tribonacci Number code in python and golang. Problem Statement The Tribonacci sequence Tn is defined as follows: T0 = 0, T1 = 1, T2 = 1, and Tn+3 = Tn + Tn+1 + Tn+2 for n >= 0. Giv...Discuss·2 likes·27 readsRecursionPython
Umang Srivastavaoutlierchronicles.hashnode.dev·Apr 13, 2024Unraveling the Fibonacci MysteryIn this blog lets try and understand how we can solve the 509. Fibonacci Number using recursion with code in python and golang. Problem statement The Fibonacci numbers, commonly denoted F(n) form a sequence, called the Fibonacci sequence, such that e...Discuss·4 likesRecursionPython
Nirdosh Gautamnirdoshgautam.dev·Apr 12, 2024Building Golang API to Run Untrusted Code in SandboxRun arbitrary Go code inside a sandbox container with real-time output from the gRPC server streaming API Try it out:https://github.com/nirdosh17/go-sandbox Design Request Flow When we receive a request in the gRPC endpoint(Go service): An availabl...Discuss·31 readsGo Language
Navraj Singhnavraj-blog.hashnode.dev·Apr 12, 2024I Bet You Don't Know Variables In Golang (Go Programming)!Introduction Well i know you guys are not a baby, i know that you guys can make variables in a programming language, but do you really think i would put hours of time writing a blog just for variables? nah! here are things i bet "most of you" did not...Discuss·1 like·53 readsGo (golang) - Beginnergolang