Browsing Category
Golang
20 posts
Building a quiz with a time limit in python and golang
In this article, I am going to go through how we might create a terminal based quiz application…
Saving data to MySQL in Golang
Of course, when we’re doing our data analysis reading from and writing to a database is super important.…
Processing a whole directory of files in Golang using channels and go routines
In many situations, you won’t just want to pick up one file from a directory for processing, you”ll…
Golang: Getting started with dataframes
In this article, we’re going to look at the qframe library to bring CSV data into a dataframe…
Refactoring our simple Twitter API project to use concurrency and modules
In my last article, I showed you a simple Twitter script to connect to the API and clean…
Querying the Twitter API in Golang and cleaning up the response
In this post, I am going to show you how to query the Twitter API in Golang and…
Golang: Go-routines and channels
Typically, if we ran a loop through a number of items, they happen serially (one after the other).…
Golang: the HTTP module for get requests
Making HTTP requests in Golang is pretty simple, I’ve included a code sample below. Within the main function…
Golang: everything you need to know about maps
Maps are pretty similar to dictionaries in Python. In the below, I define a map called red_paints. In…
Golang: Writing test cases in Go
In this article, we’re going to look at how we write test cases in Golang. Here, I will…