Welcome To Golang By Example

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

Author: admin

Convert string to lowercase in Go (Golang)

Posted on March 11, 2020March 11, 2020 by admin

Overview In GO string are UTF-8 encoded. strings package of GO provides a ToLower method that can be used to convert all Unicode letters to their lower case. This method will return…

Check if a string ends with a suffix in Go (Golang)

Posted on March 11, 2020March 11, 2020 by admin

Overview In GO string are UTF-8 encoded. strings package of GO provides a HasSuffix method that can be used to check if a string ends with a certain suffix Below is the…

Check if string begins with a prefix in Go (Golang)

Posted on March 11, 2020March 11, 2020 by admin

Overview In GO string are UTF-8 encoded. strings package of GO provides a HasPrefix method that can be used to check if a string begins with a certain prefix Below is the…

Join a string by delimiter or a separator in Go (Golang)

Posted on March 11, 2020March 11, 2020 by admin

Overview In GO string are UTF-8 encoded. strings package of GO provides a Join method that can be used to join a string based upon a delimiter. Below is the signature of…

Get all words from a sentence in GO (Golang)

Posted on March 11, 2020March 11, 2020 by admin

Overview In GO string are UTF-8 encoded. strings package of GO provides a Fields method that can be used to split a string around an instance of one or more consecutive white…

Split a string in Go(Golang)

Posted on March 10, 2020March 10, 2020 by admin

Overview In Golang string are UTF-8 encoded. strings package of GO provides a Split method that can be used to split a string by a separator. Below is the signature of the…

Check if a string contains another string in Go (Golang)

Posted on March 10, 2020March 10, 2020 by admin

Overview In Golang string are UTF-8 encoded. strings package of GO provides a Contains method that can be used to check if a particular string is a substring of another string. Below…

string compare in Go (Golang)

Posted on March 10, 2020March 10, 2020 by admin

Overview In Golang string are UTF-8 encoded. strings package of GO provides a Compare method that can be used to compare two strings in Go. Note that this method compares strings lexicographically….

Understand /etc/paths file and /etc/paths.d directory on MAC

Posted on March 8, 2020March 8, 2020 by admin

MAC OS uses /etc/paths file and /etc/paths.d directory for setting up the value of PATH env varialb.e.  A utility path_helper is used to set the PATH env variable based on the content…

Installing GO (aka Golang) on Windows

Posted on March 8, 2020March 8, 2020 by admin

GO is available to be installed on Win, Mac, and Linux platforms. Let’s see the installation set up for Windows Install Download the .msi  installer from here – https://golang.org/dl/. Double click the…

Posts pagination

Previous 1 … 47 48 49 … 62 Next
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