Welcome To Golang By Example

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

Category: Tech

Golang Regex: Case insensitive regular expression matching in Go (Golang)

Posted on May 21, 2021May 21, 2021 by admin

Overview The default behavior for regular expression matching in golang is case sensitive. But the default behavior can be changed by adding a set of flags to the beginning of the regular…

Delete a kth node from back in a Singly Linked List in Go (Golang)

Posted on May 20, 2021May 20, 2021 by admin

Overview Delete a kth node from the back in a Singly Linked List Input linked list:  Node to be removed is 3rd from the back, then Output linked list:  Program Output Explanation…

Delete a kth node from the front in a Singly Linked List in Go (Golang)

Posted on May 20, 2021May 20, 2021 by admin

Overview Delete a kth node from the front in a Singly Linked List Input linked list:  Let’s say the node to be removed is 3rd from the front, then Output linked list: …

Golang Regex: Match prefix or suffix of a string

Posted on May 20, 2021May 20, 2021 by admin

Overview Golang regex contains two anchor characters that can be used to match the prefix and suffix of a string given a regular expression. These two characters are Caret Character ‘^’ –…

Golang regex: Understanding caret and dollar character

Posted on May 15, 2021May 15, 2021 by admin

Overview Caret character‘^’ and Dollar character‘$’ are metacharacters that are used in regex in golang. Metacharacters are characters that have special meaning in regex. Below is a brief introduction of the caret…

Golang regex: Match full string

Posted on May 15, 2021May 15, 2021 by admin

Overview Golang regex contains two anchor characters that can be used to match a full string. These two characters are Caret Character ‘^’ – It is an anchor character that is used…

Alternation (OR) of regexes in Go (Golang)

Posted on May 10, 2021May 10, 2021 by admin

Overview It is similar to OR operation. Join two regexes by using the | operator. If there are two regexes r1 and r2, then alternation is represented as below It will either…

Concatenation (AND) of regexes in Go (Golang)

Posted on May 10, 2021May 10, 2021 by admin

Overview It is similar to AND operator. For example, if there are two regexes r1 and r2, the concatenation of regexes will be represented as below. It will match regex r1 followed…

Understanding Fprintln function in Go (Golang)

Posted on May 2, 2021May 2, 2021 by admin

Overview Fprintln is defined in the fmt package and is used to format a string using the default format specifier and write it to io.Writer instance passed to it. It also adds…

Check if a linked list is circular in Go (Golang)

Posted on May 2, 2021May 2, 2021 by admin

Overview Check if a linked list is circular. A linked list is circular is all nodes are connected in the form of a cylce. Program In the below program, we first create…

Posts pagination

Previous 1 … 18 19 20 … 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