Real work applications of a statically typed language option, one identified to be particularly useful for lightweight micro-services, API generation and so forth.
Golang is a concurrent programming language. It has powerful features like Goroutines and Channels that can handle asynchronous tasks very well. Also, goroutines are not OS threads, and that's why you can spin up as many goroutines as you want without much overhead, it's stack size starts at 2KB only. So why async/await? Async/Await is a nice language feature that provides a simpler interface to asynchronous programming.
Building a RESTful API can be daunting for developers who have never done it before. That’s why we’re pleased to announce the RESTful API template project.
Palindrome checking function in go that can receive integer or string. Utilize new generics feature in Go 1.18.
A simple and explanatory guide to understanding interfaces in golang.
How to Make a Linux Kernel with Nasm, Go Binary, Mini Linux
Building a distributed message processing queue using Apache Kafka requires some thought. We walk through how we process thousands of large messages per second.
Decouple your Go components by leveraging Mediator and Event Aggregator patterns. Learn how to use open-source mediator / event aggregator library called mob.
In part 2, we'll go over deploying serverless API to AWS Cloud with Terraform.
Let’s discuss a few rules of thumb for logging in Go, as well as some features you may not have heard of that can make debugging easier.
We are trying to learn the basic concepts about heaps like inserting and extracting data from heaps and also the time complexity of heaps.
If you’re a Golang developer using Visual Studio Code, keeping at-risk Go Modules out of your apps just got easier, and for free.
Beware the date-time standard!!
In Golang, we use goroutines to execute asynchronous tasks while these goroutines communicate with each other via the data structure called Channel.
Hi guys, I’m a Front-End developer. Before there was a time 2 years working CMS Magento, I like CMS Magento because system clean, and architecture database EAV (Entity — Attribute — Value) but I don’t understand why present I’m dev front-end (I don’t know) in the 2-year current. And present I chance comeback working position Back-End that I like.
For a couple of years I've been working with Golang, is such a great experience, Golang is a great language, in my opinion, simple, fast, and focused on high performance. But, not only it can help us to create a microservice that is fast, but we can also code quite quickly.
Hello, in today’s article, I will show you how you can build your own OAuth2 server just like google, facebook, github etc.
Independent, Testable , and Clean
Swoft is a PHP high performance microservice co-routine framework.
This is the second part of my HCL series.
How I make a simple interactive shell in Golang
Making a test suite in Go projects with a real live database/service
The Go programming language has become quite popular over the past few years. Why? The primary reason is that it has become the language of choice for distributed and highly scalable servers. Go was based on C and brings code efficiency to the table, which generates faster software and apps for businesses.
A Go service implementation that dispatches push messages via Firebase.
You know that feeling when you work really hard on something for really long and it feels like nobody really notices?
Today’s Bug When Doing Custom JSON Marshal in Golang
A first blog post to reduce (or increase?) the awkwardness.
Golang developers care a lot about security and as Go modules become more widely used, they need more ways to assure these publicly shared files are safe.
Want to have Prometheus and Grafanna locally so that you could test the metrics sent by your service? check this guide using Docker Compose
As someone in the tech industry, I believe that the most exciting open-source technology of the present is Kubernetes because of its general-purpose nature.
In this article, I'll show how we can configure some useful user snippets in VSCode to make our life easier.
Portal is a platform-agnostic command-line file transfer utility for sending files from any computer to another.
If you need a simple issue tracker for your app I'd recommend looking into using Github issues via the API, at least until it stops working for you!
Do you hate YAML? Then learn how to build your next tool on HCL!
Learn how to scale your kubernetes deployments with keda and prometheus
Goreleaser is awesome. It's a simple tool that allows you to release your go packages.
Golang: benchmarking made easy
In this article we'll see how we can use golang's benchmark utility to easily write benchmark tests. Also, we'll see how to plot
Forgetting to close things off in Go can potentially come back to bite you. The most basic and straightforward method is to call rollback or commit.
The 2020 #Noonies are here! And they are both much greener and much bigger than last year. Among the 2,000+ deserving humans nominated across 5 categories for over 200 award titles, we discovered Aswin Ganesh from India, who’s has been nominated for Hacker Noon's Contributor of the Year in our Functional Programming category. Without further ado, we present to you, our big techy world in 10 questions, from the perspective of Aswin.
Pass Parameters by Reference in GolangA simple diary about a simple thing that I learned about Pass By Reference in Golangpass by reference on interface parameter in Golang
How to implement in-memory cache in Golang App
Streamlining Your Code: An Introduction to the Builder Pattern in Go
Slices in go are not same as slices in other programming language
Mastering a programming language takes years of time but learning a new language does not. And Trust me, Nobody is perfect when it comes to coding. As a software engineer, one should be at least familiar with minimum 4–5 different languages or at least he should know how to learn a new language in small amount of time.
Python is commonly seen as the AI/ML language, but is often a dull blade due to unsafe typing and being slow, like really slow. Many popular natural language processing toolkits only have Python APIs, and we want to see that change. At Nuvi, we use Go for the majority of our data processing tasks because we can write simple and fast code. Today we are open-sourcing a tool that has helped make our ML lives easier in Go. Say hello to go-conllu.
A quick and easy way to compile reproducible binaries with Golang.
Python and JavaScript are the two hottest programming languages today. However, they cannot remain on top forever. Eventually, they must fall out of favour, as all languages do. This is likely to happen within the next decade or so.
Go adds fuzzing as a part of its testing tools. This feature is planned for the 1.18 release and is already available for beta testing
This guide shows you how to write your first lines of GO code.
How to validate that an enum value field in Protobuf can not be empty? Turn out that is not supported directly by Protobuf!
I’m going to focus mostly on some design decisions and how I went about writing an SPI interface using Go on a Raspberry Pi. I assume my readers have a basic understanding of what a Raspberry Pi is, and how basic electronics work. If not, read on anyway and I will be sure to include some valuable resources below.
Golang - How to handle database migration using GORM.
In this article, I will show you how you can write a controller that will monitor changes in custom resources.
Take a look at a functional programming paradigm in Go
The other day I was interviewing at one of the companies, and I was asked the following question, how can you count occurrences of a word in a 50gb file with 4gb of RAM. The trick is to not load the whole file into memory and keep processing each word as we keep on moving the pointer of the file. With this, we can easily process the whole file with a minimal amount of memory resources.
Code or Write a REST API with GO internal libraries and MongoDB as database
Illustration composed from MariaLetta/free-gophers-pack, original gopher by Renee French.
Adopt SOLID design principles in GO for better code quality and easier software maintenance.
This small golang mistake could cost your business a million-dollar problem. You could easily avoid the mistake read the blog
After spending years sticking to conventional programming languages, why should tech business founders use Golang? That’s one of the buzzing questions that founders will be asking, as the decade-old programming language is getting more prominence.
Let’s say you want to do more with Kubernetes than run off-the-shelf apps. Perhaps you want to stitch apps together into a bespoke platform. Imagine that when your user clicks a button you want to provision a new database or open up a new public-facing endpoint.
During past couple of years I have worked on few projects written in GO. I noticed that the biggest challenge developers are facing is lack of constraints or standards when it comes to project layout. I'd like to share some findings and patterns that have worked best for me and my team. For better understanding I'll go through steps of creating a simple REST API.
Sometimes we need to download files from some storage. Let's do it using Golang and gRPC using io.Reader interface.
Is it possible to create a pipeline with dynamic routes in Go? How to do it?
You must read this before releasing your Golang API into production. Based on our true story at Kurio, how we struggling for every release because we are not doing it in the right ways.
Golang has been a popular language over the past few years known for it's simplicity and great out-of-the-box support for building web applications and for concurrency heavy processing. Similarly, JWT (JSON Web Tokens) are turning into an increasingly popular way of authenticating users. In this post I shall go over how to create an authentication middleware for Golang that can restrict certain parts of your web app to require authentication.
Programming CUDA using Go is a bit more complex than in other languages. Although there are some excellent packages, such as mumax, the documentation is poor, lacks examples and it’s difficult to use.
As a freelancer working for different countries, I needed to optimize my currency exchange. So, I built a simple forex app with AWS Lamda and Telegram bots.
Crypto exchange has been in great demand with the adaptability of cryptocurrencies surging and multiple new tokens/coins been put there attracting users by showcasing their great potential.
Go is a programming language often used for applications in which performance matters. Optimizing your code based on assumptions is not a best practice of course. You need to have insights about your code performance and bottlenecks to be able to optimize it efficiently.
Article is about maps internal structure, hashes and performance. How data is actually stored inside.
An overview of golang programming language. Know the pros and cons of golang.
FTL usually refers to "faster than light". A theoretical particle known as a tachyon that powers certain spaceships in the Star Trek universe keeps the plot going for decades through multiple series and and movie franchises.
Check out why you should use golang for your next project
Comparison between Optimistic and Pessimistic locking with Golang and PostgreSQL
This story is about pain, agony, and denial of ready-made solutions. It is also about changes that improve the code’s readability and help the development team stay happy. The object of this post is an interface that helps a program communicate with a database.
In applications that are i/o heavy, it can get clunky to synchronously execute high-latency functions one after the other.
Over-viewing common coding pitfalls we've encountered when we started to use GoLang for production systems
Avoid XSS and CSRF attack in JWT with Golang and React for backend and frontend respectively.
Frank Müller, Solution Engineer at Loodse, is one of the co-organizers of the GoDays conference in Berlin, which took place in January of 2020. It has been an exciting moment when Google announced its Language Go in 2009. After some hype and early years of establishing the language, it was settled as a robust and scalable fundament for networked systems. We invite you to enjoy a travel through a decade of our beloved Go within the interview of Grigory Petrov, Dev Rel at Evrone.com with Frank Müller.
The ever-evolving technological era has necessitated the need for cost-effective, high-speed, and reliable sources for web applications. The current market trend of cost reduction and efficiency has dictated that an Internet-based one replaces the traditional desktop-based application.
Go has hard opinions about how you should style and format your code. The big upside of this is that you don't need to spend hours setting up tools like ESLint, Prettier, JSLint, etc. That said, in order to take advantage of the styling and listing tools available in the toolchain, you need a dev environment that makes them easy to use.
Nowadays, the successful application often consists of containers and some sort of container management system to ease scaling, reduce downtime, and more.
The journey of a thousand miles begins with a single step. That's how everything in our tech journey begins. We all got here with a single step, that slowly became multiple steps. Before we know it, we are a thousand miles in. When I first started my career, I was in helpdesk. Now, I’m a developer advocate. The way that happened was with thousands of steps.
Learn how to build a sample CRUD TODO API written in GO using gin-gonic, one of the most popular web frameworks, which saves data to a PostgreSQL database
Goplicate - An epic tale about a developer trying to maintain dozens of project config files and finding the one config to bind them and rule them all.
Many are wondering whether Golang is a language that can apply the Object Oriented Programming paradigm. Let's discuss this here.
Creating Kubernetes controller for Envoyproxy with xDS protocol and Custom Resource Definition
Compact and waterproof camera based on ESP32 usable for short periods of time, powered by solar energy.
Building an in-memory database in golang is a basic task that you are likely to have to do. It needs you to make a database and a table before organising.
How to build a RESTful API service without repetitive boilerplate and hassle.
Top 5 IDEs and Tools for Golang Development - here is the list of top Golang IDEs that are worth your attention.
Hi all. I'm so honored to introduce my product: Go Search Extension, a handy browser plugin to help every Go developer search docs and package in the address bar instantly.
I’m going to focus mostly on some design decisions and also how I went about writing an SPI interface using Go on a Raspberry Pi. I assume my readers have a basic understanding of what a Raspberry Pi is, and how basic electronics work. If not, read on anyway and I will be sure to include some valuable resources below.
For a long time, it’s been widely accepted that startup businesses can gain an edge over larger, establishment rivals, due to their lack of legacy tech baggage. For example, modern challenger banks have – in terms of features and UX at least – ran rings around the traditional stalwarts thanks to their modern IT and data systems.
On a first glance when I started working on go, for me it seems very very weird language. I am working on node-js for two and more years and then start working on golang is not so cool for me.
Constants can be confusing and easy to misuse in Go if you are coming from an untyped language. In this article we will learn what constants are, and when it is best to make use of them.
IBC is coming. Come and hack on it before it gets shipped on Cosmos Hub mainnet.
By configuring a systemd socket, you can tell systemd to listen on the configured ports and start your service with a copy of the listening sockets.
The Go programming language is great choice for web server development and beyond.
This is a quick start for GoReleaser to automate the building and publishing GoLang projects.
Using a Raspberry Pi to measure the temperature inside a Ford Focus during a record-breaking heatwave.
PDF forms are a convenient tool for gathering and storing information about your customers or users. This is a breakdown of how you can fill and flatten them.
Github has been hacked. The affected computers cloned the affected repositories. How much is it Github's fault? How can we protect ourselves from this?
Check out how efficient it is to create a new API using Go, and then deploy it to the Render PaaS, both for the first time with zero DevOps.
numeral is a Go package. It gives you the ability to create custom (positional) numeral systems and perform operations on them.
Let's find out together how to structure Go code according to the best software engineering practices.
Recorded the journey I took to migrate my data science blog from Python-based Pelican to Golang-based Hugo, then deploy to Netlify for free.
µjson is a minimal JSON parser and transformer that works on unstructured (and trusted) JSON. It works by parsing input and calling the given callback function when encountering each item.
Getting started with fast Golang router that allows to handle and monitor errors using middlewares.
If you are familiar with the Go Playground, then you know how convenient it is to be able to have a Go scratchpad in the browser. Want to show someone a code snippet? Want to quickly test some syntax? Browser-based code pads a helpful. On that note, I created a new playground. The cool thing about this new playground that it doesn't use a remote server to run code, just to compile it. The code runs in your browser using web assembly (WASM).
How to create a static web sites using Hugo-Github Pages
There are quite a few ways to create new maps and slices in Go. Which one is best? Or perhaps better asked, which one is best in your situation? Let's take a look.
Check and audit link/URL health using Github actions. Test dead links in a fast and efficient manner
The role of DevOps engineers, their responsibilities, growth opportunities, a set of important soft & hard skills, and most importantly, DevOps trends in 2022.
Go is becoming very popular for backend web development, and JWT's are one of the most popular ways to handle authentication on API requests. In this article, we are going to go over the basics of JWT's and how to implement a secure authentication strategy in Go!
Extending Open Policy Agent and creating custom rego functions
This blog will outline the top 6 trending programming languages to learn in 2022 and equip you with some tips to choose the best one.
Generating API blueprint REST API Golang using SwagGo tools
Knowing how to build REST API with latest tech is cool. You know what's even cooler? It's being able to deploy it to the cloud! I'll walk you through the process of building simple, server-less application using GO, AWS (Lambda, API Gateway, Dynamodb) and Terraform.
After recently joining Central Tech, I was given my first project: implement a new product creation and querying API in Go. I took this as a chance for me to finally dive deep into Go, something I've been wanted to do after having heard praises about it from many others. I also decided to start detailing the things I learned along the way, both for personal reference and to ensure that I understand concepts enough to explain it in writing.
Curious about which linters are available in Golang ecosystem? Here's an introduction of how to get started.
I love pet projects, they are great excuse to use libraries and other technologies that you can’t use at work. Lately I’ve been working on a bigger pet project that needs to parse Go files, I’ve used ANTLR before to make this kind of things but unfortunately, ANTLR’s Go target has poor performance. So I began to search for alternatives written in pure Go and came across with this one, which took a different approach on creating parsers with Go, but before we’re going to understand how this library is different from others, let’s cover some basic concepts about parsing.
Today to build a mobile application is a mandate for businesses. But, when it comes to investing money for that mobile application, most people have different strategies. Many enterprises believe that a quality mobile app development cost higher and that mobile apps developed with a low budget are bound to fail.
I decided to make the first steps in Yocto-oriented software development and make a rather simple service app for Yocto-based Linux distro.
Rio is a lightweight job scheduler and job chaining library. Its mainly build for Golang web apps, but it can be very easily mold to serve any applications.
In this post my plan is to create open tcp port scanning tool, use GO and worker pool to make it very fast. Expose it via REST resource, containerise and deploy
In many blockchain platforms such as Ethereum and Bitcoin, data confidentiality is a kind of excluded item in their blockchain framework. In these distributed blockchain platform transactions are executed in every participant node in the network. So, every transaction in the network can be visible to all the peers. The ledger update process through all the endorsed peers and has to reach an agreement among all before it committed successfully to the ledger. So, in this scenario creating a private record and comprises within a certain group of participants in the network is a complete “No”.
Need a quick beginner's guide to gRPC? What is it? How do you set up a client and server, and make an RPC call? All your answers are here!
Go has become increasingly popular in recent years, especially in my local area. It has been consistently displacing other backend languages like Ruby, Python, C# and Java. Go is wanted for its simplicity, explicitness, speed, and low memory consumption.
Startup experience in Mercari. Road to microservices from monolith.
Deep learning and neural networks are very interesting subjects and Go language supports this technology using the framework Gorgonia.
Hello there! So today we would be learning about Go variables and the different data types associated with Go.
Beginning.
I recently read a great article by Mat Ryer about programmatically generating images in Go and got inspired by it to solve a repetitive task I usually do every month.
CockroachDB and using a popular database are two error-free options for decimal handling in Golang.
Go modules have helped bring order to Go development, but there’s been some disorder lurking. Managing module pseudo-versions can be difficult, especially with some of the latest changes to Go.
I describe why Fiber it's really a good start for learn Go when you have experience in ExpressJS, what similarities and differences to expect, and what things I learned when building my first API on Go.
Generic Programming in Go using different methods: interfaces, typecasting, Generic Functions
Richard Eng 2020 Noonie Nominee for Blockchain from India has been nominated for a 2020#Noonie in the Future Heroes and Technology categories.. The Noonies are Hacker Noon’s way of getting to know — from a community perspective — what matters in tech today. So, we asked our Noonie Nominees to tell us. Here’s what Richard had to share.
In this article, I’ll try to explain the significance of OffChain Storage in Hyperledger Fabric and also the offchaindata application that I have built to demonstrate the offchain storage implementation using the Go Programming language for Hyperledger Fabric.
This article was first published on our open-source platform, SimpleAsWater.com. If you are interested in IPFS, Libp2p, Ethereum, Zero-knowledge Proofs, DeFi, CryptoEconomics, IPLD, Multiformats, and other Web 3.0 projects, concepts and interactive tutorials, then be sure to check out SimpleAsWater.
Here are my top ten best programming languages to learn first. Start from here, choose your path and get yourself on the road to your dream job.
Blogging about tech is fun. Having your own blog allows you to help others, polish your skills, and maybe get you a job. Blogging on popular tech sites is great. Obviously you're reading this on Hackernoon, so you know I do it. It's fun. But having your OWN site to manage your content is important as well. This gives you freedom to do things exactly as you want, try out weird applications and patterns, and experiment.
During past projects, I experienced difficulties when developing with a Ruby encryption pack.
Quick recap from PART-1
Go emerged from Google out of a need to build highly performant applications using an easy-to-understand syntax. It's a statically typed, compiled language developed by some of the innovators of C, without the programming burden of manual memory management. Primarily, it was designed to take advantage of modern multicore CPUs and networked machines.
Recently, Digital Ocean announced they're entering the PaaS market with their new application platform. They've hosted virtual machines (droplets) and Kubernetes based services for years, but now they're creating a platform that's a simple point and click to get an application up and running.
This article will be of particular interest to people who are curious about how powerful encryption can be implemented in high performance systems. It is also for people who just want to know a bit more about how strong encryption works and how all the pieces fit together.
Problem - How many times have we faced this problem of worrying about cleaning up after running test cases. When some of our test cases run, they might add data to our database or add files to our directory which we don’t want to worry about every time.
In this tutorial, I’ll show you how to grab temperature from a Raspberry Pi and build an endpoint to store the data, with Go.
Want to see disappearing data in Go caused by an innocent append of data to an array? Can this happen in Rust, too? Check this data-driven horror story out!
Before reading this article, make sure you have a good understanding of basic concepts of software development as Algorithms, Object Oriented design, Domain Driven Design. These will be the building blocks to digest the contents.
In this article, we will go over a project on image recognition using Go. We will also create a Telegram bot, through which we can send images for recognition.
Till now, we have explored a number of fun examples using InterPlanetary File System (IPFS), InterPlanetary Linked Data (IPLD) & Libp2p. We have built Websites on IPFS, Youtube on IPFS, Online Publication on IPLD & Chat Application on Libp2p.
We all want to test our servers and the latency induced by scale. There are different ways to do that one way would be to use postman to send multiple requests. But how do I send concurrent requests? Say I want to a million requests with different levels of concurrency. This can be easily achieved by leveraging the power of Goroutines.
When I started working in Go and AWS Lambda, one of the difficulties that I faced was unit testing. I had a decent idea about what is unit testing and knew how to do it in Ruby but in Go, I had no idea because I was a beginner.
Project Link: https://github.com/Joker666/microservice-demo/
For the most part, Go developers are pretty good about using constants for global configuration, rather than global variables. A problem arises however when we want a global constant slice or map. The go compiler doesn't allow these more complex types to be set as constant. Many developers, upon making this realization, decide to then use a dangerous global variable. In this article we will explore a better option.
the must-have practices if you use external APIs
Golang recently turned 10 and the success this language has created over the last 10 years is overwhelming. Today, many of the most popular DevOps tools are now written in Go. This proves that Go is a language that has a great future in the DevOps industry. It is meant for cloud network infrastructure practitioners - this was one of the primary goals of the Go creators. As a result, Every major cloud provider today has turned to Go for their core cloud infrastructure, to name some - Docker, Kubernetes, Istio, Etcd, Prometheus, and Terraform.
When your application only works with api expose by kubernetes, you can simply launch your application from IDE in debug mode and debug your application. But when your application needs to connect to other services or components which are only available inside the Kubernetes cluster then this solution will not work.
Elastic APM is extensively useful in monitoring the lifecycle of a HTTP request in a system especially in µservices architecture. Wide variety of web frameworks and databases are supported which is useful in tracking the request up to DB calls. The documentation is simple and concise which makes it easy to instrument the application.
This article aims to help or at least make it easy to trace the HTTP request lifecycle after instrumentation. Golang is used in this article for code snippets but the concept can be extended to other languages as well.
The evolution, failures and design decisions behind one of the world’s largest real-time, high-frequency and low-latency streaming systems.
Most programs on Linux are dynamically linked. So when you are creating a unikernel with OPS out of a linux application OPS goes out and finds all the libraries it's dynamically linked to and throws it onto the disk image. This works well if you are on linux - 99% of everything on linux is dynamically linked.
Pure functions are often hyped up in the Javascript world, probably because of the abundance of state in front end applications. While pure functions have their downsides (i.e. inconvenience, potentially large argument lists), I believe they should be used as much as reasonably possible, and I want to focus on pure functions in Go.
Few days ago, I stumbled across a very interesting approach to give permissions (or roles) to users in the system.
Reveal why there is hype around Golang and describe the best application variants for this programming language as well as cases when Go is not the best choice.
I encountered an issue when 10 million messages with emoji were written in the MySQL table with utf8 encoding.
What are Interfaces in Golang?
Project Link: https://github.com/Joker666/goworkerpool
Bun is a SQL-first Golang ORM for PostgreSQL, MySQL/MariaDB, MSSQL, and SQLite. It supports migrations, fixtures, and performance monitoring.
At the moment, the TIOBE index monitors 265 popular programming languages. The TIOBE includes a language on the list if it matches three key requirements: it is Turing complete, has its own Wikipedia page, and provides more than 5,000 search results on Google.
In a previous post I was explaining the basics of setting up GO application for REST API. Now I'll go into details by first creating configurable server, adding http router (mux) and some DB interaction. Let's get (the indoors party) started!
Can Golang be used in Machine Learning? In the article you will learn advantages and disadvantages of using Go lang in Machine learning
In this tutorial, I'm going to walk you through building a streaming API using Golang. Don't worry, its surprisingly easy to build a robust streaming server, especially if we utilize one of the more modern protocols: HLS.
The following sample code is from Go's standard library documentation:
One of the first techniques developers learn is the if/else statement. For obvious reasons if/else statements are a primary way to create logic trees. This is where we handle calculations differently depending on the input variables. However, complex and nested if/else statements become a cognitive burden to reason about. Therefore, it can be hard for the next developer to understand quickly.
Motivation
A comprehensive guide on how to create a Facebook Messenger bot in Golang.
We spoke to Rob Pike, the co-author of the Go programming language, about a career spanning four decades, the evolution of Go over the last ten years, and into the future.
Recently, I faced with lack of documentation when I wanted to use Consul as a host resolver in gRPC connections. That’s why I wanted to write this story.
Introduction
These are mistakes that I’ve made writing Go. Although these might not cause any sort of error but they can potentially affect the software.
The term hackathon is a compound word, a fusion of hacking and marathon, where hack is used in the sense of exploratory programming.
If you've read some of my prior articles you might've thought I'd never write this one huh? :) Well here goes.
Want your Go programs to run faster? Optimizing string comparisons in Go can improve your application’s response time and help scalability. Comparing two strings to see if they’re equal takes processing power, but not all comparisons are the same.
This means to compare programming languages on what really matters, which in most cases, specifically in the enterprise world, is how efficient it is to develop
Error checks are essential but turn to noise without automatic propagation. Fixing Go's error-handling.
HTML for PDF in Go for creating quality PDF reports with Table of Contents, Bookmarks and other important native PDF features.
The front page of JeremyMorgan.com loads less than a second, most of the time, from various parts of the world.
In this article, I will show you how to build such a pipeline for processing and storing Kubernetes cluster events.
For Terrastruct, which has a little over 50K lines of code as of now, I've only written functional end-to-end tests. This blog post describes a successful setup that took some iterating to get to, and it's one I wish existed when I started with a Go API backend.
Illustration composed from MariaLetta/free-gophers-pack, original gopher by Renee French.
Different ways to remove duplicates in slices in Go, a powerful language whose lack of tools makes learning this necessary if you want to make full use of it.
In this guide, you will learn everything you need to know to get started using Go to build real-world applications.
I'm going to show you how easy it is to develop a simple web application in Go, package it as a lightweight Docker image, and deploy it to Heroku.
I created a simple Telegram bot that could retrieve Bitcoin's Price to convince my friends that Telegram is far superior to Whatsapp.
A deep dive into the performance characteristics of RDS Proxy vs RDS
Go is a programming language that was designed in 2007, and this fact directly puts it into the young budding category. Even it is fairly young, as compared to others, it has a lot to offer. No, don't get confused with its adorable and goofy Gopher mascot. This language is more like a dominant alien trying to rule the universe of development!
immudb is lightweight, high-speed immutable database for systems and applications.
So you’re a front end developer, and you want to learn some backend stuff. You want to become a full stack developer someday, so where do you start? Google’s Go language is an excellent place.
Project Link: https://github.com/Joker666/goworkerpool
Microservices are very popular today, even in traditional corporate IT shops. Often though they are implemented using languages, such as Java, born in the early ’90s and designed for a world of monolithic applications. Do you remember the big old Application Servers?
Good cake is the one you can easily slice into parts with no crumbs falling apart. That's all this project is about: 3 simple parts, no nasty additives. In part 1 and part 2 I've explained the basics of setting up golang project using docker, creating configurable server, interacting with DB, adding routes and handlers.
In this article, I’ll explain the technique used in serializing structured data using Protobuf in Hyperledger Fabric. Protobuf makes simpler in data processing and formatting. It structures the data with specially generated source code to easily write and read data within the same smartcontract.
Using declarative validation in Golang, in a similar way to Active Record validations.
Visit the /Learn Repo to find the most read stories about any technology.