[8] Results

Golang : Calculate Relative Strength Index(RSI) example

rsigolangbinance crytocurrency relative-strength-index

Alright, below is a simple example on how to calculate the Relative Strength Index(RSI) using data from Binance.com and Golang.….... read more


Golang : Calculate US Dollar Index (DXY)

golang forex-trading us-dollar-index dxy

Below is a code example on how to calculate the US dollar index based on a basket of other related….... read more


Golang : Remove characters from string example

golang strip-charactersindex-rune strings map

Problem:

You have a string and you want to remove certain characters from the string base on a set of….... read more


Golang : Skip or discard items of non-interest when iterating example

golang read-file skip-iterable-item strings-index

Problem:

You want to skip or discard items of non-interest when iterating. For example, skipping the commented lines with #.... read more


Golang : Calculate BMI and risk category

golang IoT body-mass-index weight height kilograms

I'm building a healthcare IoT device that will ask a person about their weight and report back the risk category.….... read more


Golang : Simple file scaning and remove virus example

file-scanning anti-virus bytes-reader strings-index signature

Just for fun, for this tutorial, we will simulate a simple anti-virus program. Let's create a simple file scanner that….... read more


Golang : Generate 403 Forbidden to protect a page or prevent indexing by search engine

golang 403-forbidden no-index curl http-status-code

Got a question from a Golang newbie. He is asking how to protect certain directory or page from being accessed….... read more


Golang : How to pass map to html template and access the map's elements

golang index panic-assignment-to-entry-in-nil-map html-text-template slice-array

For this tutorial, we will learn how to pass a map to text or html template and learn how to….... read more


Advertisement