[838] Results

Golang : Find files by extension

golang extension

This is a filepath.Ext() function example and it will only display files with .png extension in the current directory. You can adapt the code for….... read more

Golang : Convert file content to Hex

golang hex

Somehow for the last couple of days I keep on thinking about my childhood days of hacking DOS games with Central Point PC-Tools Hex Editors.….... read more

Golang : Iterating Elements Over A List

golang list

In this short tutorial, we will learn how to iterate the elements over a list. The code below will populate the list first and then….... read more

Golang : Example for ECDSA(Elliptic Curve Digital Signature Algorithm) package functions

golang ecdsa

In cryptography, the Elliptic Curve Digital Signature Algorithm (ECDSA) is a variant of the Digital Signature Algorithm (DSA) which uses elliptic curve cryptography. This tutorial….... read more

Golang : Encrypt and decrypt data with x509 crypto

golang x509

This is a simple tutorial demonstrating how to encrypt and decrypt string data with Golang's crypto/x509 package. We will use the EncryptPEMBlock and DecryptPEMBlock functions.….... read more

Golang : Clearing slice

golang slice

Slice is something that I use frequently in Go and I always prefer slice to array at anytime. If you are new to Go and….... read more

Golang : Whois examples

golang whois

Whois a network utility to find out "who is" the owner behind a domain name. Some owners will display all….... read more

Golang : Channels and buffered channels examples

golang channels

Continue from previous tutorial on goroutines. Goroutines run in the same memory address space and how does Golang….... read more