Welcome To Golang By Example

Menu
  • Home
  • Blog
  • Contact Us
  • Support this website
Menu

Tag: folder

Change folder/directory permissions in Go (Golang)

Posted on April 17, 2020April 17, 2020 by admin

os.Chmod() function can be used to change the permissions of an existing folder or directory. Below is the signature of the function Code Output:

Create a directory or folder in Go (Golang)

Posted on April 16, 2020April 16, 2020 by admin

Overview os.Mkdir() function can be used to create a directory or folder in go. Below is the signature of the function. It takes in two parameters The first parameter is the named…

Rename file or folder in Go (Golang)

Posted on April 15, 2020April 16, 2020 by admin

Overview os.Rename() function can be used to rename a file or folder. Below is the signature of the function. old and new can be fully qualified as well. If the old and…

Follow @golangbyexample

Popular Articles

Golang Comprehensive Tutorial Series

All Design Patterns in Go (Golang)

Slice in golang

Variables in Go (Golang) – Complete Guide

OOP: Inheritance in GOLANG complete guide

Using Context Package in GO (Golang) – Complete Guide

All data types in Golang with examples

Understanding time and date in Go (Golang) – Complete Guide

©2025 Welcome To Golang By Example | Design: Newspaperly WordPress Theme