How To Use MQTT in Golang
DZone
FEBRUARY 8, 2023
Golang is a statically, strongly typed, compiled, concurrent, and garbage-collecting programming language developed by Google. Go is expressive, clean, and efficient.
This site uses cookies to improve your experience. By viewing our content, you are accepting the use of cookies. To help us insure we adhere to various privacy regulations, please select your country/region of residence. If you do not select a country we will assume you are from the United States. View our privacy policy and terms of use.
DZone
FEBRUARY 8, 2023
Golang is a statically, strongly typed, compiled, concurrent, and garbage-collecting programming language developed by Google. Go is expressive, clean, and efficient.
Dynatrace
OCTOBER 15, 2020
Originally initiated at Google, Go—often referred to as Golang—is an open source programming language. OpenTelemetry is a frequently used term in the Dynatrace Go team office, and (almost) zero-day support for new, minor Golang releases might not be too far out. Dynatrace news. Even Kubernetes and Docker are written in Go.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
The Polyglot Developer
FEBRUARY 21, 2020
You might remember that I’ve done quite a bit of content when it comes to developing GraphQL APIs with the Go programming language (Golang). However, in everything I’ve done thus far, I haven’t demonstrated how to interact with a GraphQL using Golang.
DZone
JUNE 30, 2023
In this blog post, I show you how the misuse of a Golang ORM API introduced several SQL injections in Soko, a service deployed on the Gentoo Linux infrastructure. Unfortunately, that's not enough to thwart away SQL injections once and for all, as these APIs can still present subtle bugs or nuances in their design.
DZone
AUGUST 8, 2023
All the modern programming languages such as Golang, Node.js, Java,NET, Python, etc. do automatic garbage collection to remove unreferenced objects from memory. While this automatic garbage collection provides convenience to developers, it can come at a cost: excessive CPU consumption.
The Polyglot Developer
NOVEMBER 12, 2019
When it comes to error handling in the Go programming language (Golang), they can either be incredible or a miserable nightmare in terms of management. The post Checking for Unchecked Errors within Golang Applications appeared first on The Polyglot Developer.
The Polyglot Developer
JANUARY 31, 2020
In this tutorial we’re going to see how to create an Amazon Alexa Skill, also referred to as an Alexa application, that interacts with a MongoDB cluster using the Go programming language (Golang) and AWS Lambda. The post Developing Alexa Skills with MongoDB and Golang appeared first on MongoDB.
The Polyglot Developer
DECEMBER 18, 2020
In this quick start themed tutorial, we’re going to see how to use MongoDB field level encryption with the Go programming language (Golang). The post Client-Side Field Level Encryption (CSFLE) in MongoDB with Golang appeared first on MongoDB.
The Polyglot Developer
MARCH 26, 2018
I own several Raspberry Pi Zero and thought it would be a perfect opportunity to take what I know about Raspberry Pi and Golang to create a wallet for a fraction of the price as the industry leading wallets. The post Create A Bitcoin Hardware Wallet With Golang And A Raspberry Pi Zero appeared first on The Polyglot Developer.
The Polyglot Developer
MARCH 21, 2018
This previous tutorial had more of an emphasis on creating cryptocurrency wallets with Golang than anything. The post Create And Sign Bitcoin Transactions With Golang appeared first on The Polyglot Developer. The next step in making Bitcoin and other cryptocurrencies useful is to be able to transfer or send them to other people.
DZone
JULY 13, 2023
Automatic garbage collection is a prevalent feature in modern programming languages such as Golang, Node.js, Java,NET, and Python. While it offers convenience to developers by automatically removing unreferenced objects from memory, it can also result in excessive CPU consumption.
The Polyglot Developer
OCTOBER 30, 2017
We’re going to see how to change the cross-origin resource sharing configuration in a Golang web application that uses the mux package. The post Handling CORS In A Golang Web Application appeared first on The Polyglot Developer. However, it is best to tackle these issues at the source.
The Polyglot Developer
OCTOBER 22, 2018
I’m a huge fan of Golang and was pleased to see that AWS Lambda recently started to officially support it. The offer and Golang inspired me to develop another Skill and this time I wanted to share my process. The post Build An Alexa Skill With Golang And AWS Lambda appeared first on The Polyglot Developer.
Dynatrace
DECEMBER 4, 2023
Dynatrace OneAgent® is perfectly capable of automatically injecting and tracing code-level information for many technologies, such as Java,NET, Golang, and NodeJS. However, Python models are trickier.
The Polyglot Developer
FEBRUARY 20, 2019
Over the past few weeks I’ve been writing a lot about API development with MongoDB and Node.js, but did you know that MongoDB also has an official SDK for Golang ? The post Developing A RESTful API With Golang And A MongoDB NoSQL Database appeared first on The Polyglot Developer. and the Go programming language.
The Polyglot Developer
FEBRUARY 26, 2018
What if we wanted to adventure into other technologies like Golang? The post Generate Cryptocurrency Private Keys And Public Addresses With Golang appeared first on The Polyglot Developer. The thing about my previous tutorials are that they all used the JavaScript stack in some sense.
The Polyglot Developer
MARCH 18, 2019
package in Golang to validate native Go data structures, their fields, and any variables that don’t quite fit in. The post Validating Data Structures And Variables In Golang appeared first on The Polyglot Developer. We’re going to see how to use the validator.v9
The Polyglot Developer
MARCH 13, 2017
If you’ve been keeping up, I’ve been doing a lot of development with the Go programming language which is why I think it would be a great idea to go over XML in Golang. The post Parse XML Data In A Golang Application appeared first on The Polyglot Developer. We’re also going to see how to take JSON data and convert it into XML.
The Polyglot Developer
JANUARY 2, 2019
Before exploring this new field of development, I had been interested in learning and practicing a language that was new to me, Golang (or just Go). ” It was a couple of months ago when I came across a great post by Nic Raboy on writing about writing Alexa Skills with Golang and AWS Lambda which can be found here.
The Polyglot Developer
JULY 11, 2018
If you’ve been keeping up, you’ll remember I released a very popular tutorial titled, Getting Started with GraphQL Using Golang which was more or less a quick-start to using GraphQL in your web applications. The post JWT Authorization In A GraphQL API Using Golang appeared first on The Polyglot Developer.
The Polyglot Developer
MARCH 31, 2017
The post Authenticate A Golang API With JSON Web Tokens appeared first on The Polyglot Developer. This teach us how to create an API that offers an authentication mechanism outside of sessions and cookies, which typically are not available when working with an API.
The Polyglot Developer
DECEMBER 19, 2016
Continuing down the road of Golang development I thought it would be a cool learning example to develop a URL shortener application similar to that of TinyURL or Bitly. In this example we’re going to create an application that makes use of Golang, Couchbase, and a few other project dependencies.
The Polyglot Developer
APRIL 24, 2017
If you’ve been keeping up you’ll remember that I’ve written about storing data remotely with Golang in a Couchbase NoSQL database , but never anything locally. We’re going to see how to use a SQLite database in our Golang application to read and write local data.
The Polyglot Developer
JULY 11, 2016
Because of this it only made sense to see what it took to build a RESTful API with Go, often referred to as Golang. The post Create A Simple RESTful API With Golang appeared first on The Polyglot Developer. We’re going to see what it takes to build a simple API that does basic CRUD operations using the Go programming language.
The Polyglot Developer
OCTOBER 15, 2018
In this tutorial, we’re going to see how to consume question and comment data from the Stack Exchange API using Golang and then export it to comma separated value (CSV) for further evaluation. The post Analyze Stack Overflow Data With Golang And HTTP appeared first on The Polyglot Developer.
The Polyglot Developer
DECEMBER 1, 2017
We’re going to see how to send emails using Mailgun with Golang. The post Send Emails With Mailgun Using Golang appeared first on The Polyglot Developer. Through HTTP, emails can be sent from any application and for a very affordable price.
The Polyglot Developer
MAY 9, 2018
The post Getting Started With GraphQL Using Golang appeared first on The Polyglot Developer. We’re going to see how to implement a web application using the Go programming language, but uses GraphQL when working with the data.
The Polyglot Developer
AUGUST 5, 2016
What happens if we want to use a database with Golang? The post Using Couchbase Server In A Golang Web Application appeared first on The Polyglot Developer. Not too long ago I wrote an article regarding how to create a RESTful API using the Go programming language , but in it I only used mock data rather than an actual database.
The Polyglot Developer
DECEMBER 5, 2016
I figured I would change it up a bit and get into the basics of Golang and common Computer Science study material taught in school, but often used in software engineering type positions. The post The Fibonacci Sequence Printed With Golang appeared first on The Polyglot Developer. Why do I want to talk about Fibonacci related material?
The Polyglot Developer
APRIL 17, 2017
I personally think that Golang is a great development technology and one of the better that I’ve used. That said, there are things to be desired in Golang out of the box. The post Decode Map Values Into Native Golang Structures appeared first on The Polyglot Developer.
The Polyglot Developer
FEBRUARY 1, 2017
There are many stacks in existence, but one of my personal favorites includes Golang, Angular, and NoSQL. The post Build A Full Stack Movie Database With Golang, Angular, And NoSQL appeared first on The Polyglot Developer. So how do you apply all these stack technologies towards a fully functional application?
The Polyglot Developer
APRIL 28, 2017
The post Cross Compiling Golang Applications For Use On A Raspberry Pi appeared first on The Polyglot Developer. Cross compiling is a thing and we’re going to see how to do this via a different operating system and architecture, yet have it be compatible on the Raspberry Pi.
The Polyglot Developer
FEBRUARY 20, 2017
But how do you do this in a Golang application? We’re going to see how to develop unit tests for our functions as well as HTTP endpoints in a Golang application using the available Go testing framework. The post Unit Testing A Golang Application That Includes HTTP appeared first on The Polyglot Developer.
The Polyglot Developer
JULY 24, 2017
For example, a popular tutorial I wrote titled, Create a Simple RESTful API with Golang , focuses on developing an API. The post Consume RESTful API Endpoints Within A Golang Application appeared first on The Polyglot Developer. I am a huge fan of the Go programming language and have written a decent amount of material on the subject.
The Polyglot Developer
MAY 24, 2017
and Express Framework , but what if we wanted to do it in Golang? We’re going to see how to add two-factor authentication to a Golang API that makes use of Json Web Tokens (JWT). The post Add Two-Factor Authentication To A Golang RESTful API appeared first on The Polyglot Developer.
The Polyglot Developer
MAY 16, 2018
I recently wrote about getting started with GraphQL in a Golang application , where I discussed the creation of schemas, executing queries, and mutating data, even though it was all mock data. The post Maintain Data Relationships Through Resolvers With GraphQL In A Golang Application appeared first on The Polyglot Developer.
The Polyglot Developer
FEBRUARY 19, 2018
The post Encrypt And Decrypt Data In A Golang Application With The Crypto Packages appeared first on The Polyglot Developer. We’re going to take a look at encrypting data and then decrypting it within a Go application by using the already available crypto packages.
DZone
SEPTEMBER 20, 2019
Running a PHP application offers a wholly unique experience compared to running applications in other programming languages like Java or Golang. How does this Peak Perform? In most languages, you have to start your application in order to respond to a client request; whereas, with PHP, you have a simple “.php”
The Polyglot Developer
MAY 8, 2017
The post Concurrent Golang Applications With Goroutines And Channels appeared first on The Polyglot Developer. In fact, you can even create far more goroutines in Go than you can in a language such as Java with the same hardware.
The Polyglot Developer
DECEMBER 26, 2016
using a library called Socket.io , but since I’ve been really getting into Golang I wanted to explore websockets using the Go programming language. We’re going to check out how to create a chat application where the client is an Angular application and the server is a Golang application.
The Polyglot Developer
FEBRUARY 5, 2018
We’re going to see how to use Golang to scan for BLE signals and parse the data to determine if they are iBeacon. The post Scan For BLE iBeacon Devices With Golang On A Raspberry Pi Zero W appeared first on The Polyglot Developer. Fast forward to round two of playing with iBeacon devices and a Raspberry Pi.
Dynatrace
APRIL 20, 2020
Golang runtime metrics + WebServer metrics in Infrastructure Mode. Having this functionality in infrastructure mode makes perfect sense and brings more value to you. Monitor additional metrics. Additionally, we’re further extending our infrastructure mode with runtime metrics for: Java.NET. Enabling JMX and PMI extensions.
The Polyglot Developer
MARCH 17, 2017
There are several packages that exist for bundling assets into a Golang application. The post Bundle HTML, CSS, And JavaScript To Be Served In A Golang Application appeared first on The Polyglot Developer. Popular packages include go-bindata , go-bindata-assetfs , and go.rice.
The Polyglot Developer
APRIL 3, 2017
The post Load A JSON Configuration From File In A Golang Application appeared first on The Polyglot Developer. We’re going to see how to open a JSON configuration file using the Go programming language and load it into a custom data structure to be used throughout the application.
Expert insights. Personalized for you.
We have resent the email to
Are you sure you want to cancel your subscriptions?
Let's personalize your content