[838] Results

Golang : Delete files by extension

golang delete

Being able to select certain type of files to delete can be useful. In this follow up tutorial from Golang : Delete file, we are….... read more

Golang : Change a file last modified date and time

golang mtime

There are times when we need to perform some operation on a file, but then manually change the last modified and access time of the….... read more

Golang : Convert file content into array of bytes

golang array

It is a fairly common requirement to read a file content into array of bytes and output those arrays back to a file. In this….... read more

Golang : Example for DSA(Digital Signature Algorithm) package functions

golang DSA

There are not many examples or tutorials out there on how to fully utilize the crypto/dsa package. In this tutorial, we will learn how to….... read more

Golang : How to write backslash in string?

golang backslah

Alright, below is a simple tutorial on how to write backslash in Golang. Nothing special, just writing it down here….... read more

Golang : syscall.Socket example

golang socket

Just a comparison on how Golang code that utilize net package looks like if implemented with syscall.Socket example :

.... read more

Golang : zlib compress file example

golang zlib

This tutorial will show you how to read an uncompress file content into a buffer, use zlib on the buffer….... read more

Golang : Get file permission

golang permissions

Get a file permission in Go is easy. In this tutorial, we will see how to read a file permission and display the permission. This….... read more