Welcome To Golang By Example

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

Tag: go

Pointer Arithmetic in Go (Golang)

Posted on October 11, 2020October 11, 2020 by admin

Overview Pointer arithmetic is not possible in golang unlike C language. It raises compilation error. Program Output Above program raises compilation error

* or dereferencing pointer in Go (Golang)

Posted on October 11, 2020October 11, 2020 by admin

Overview * operator can be used to: Dereference a pointer which means getting the value at the address stored in the pointer. Change the value at that pointer location as well Program…

Pointer to a Pointer in Go (Golang)

Posted on October 11, 2020October 11, 2020 by admin

Overview It is also possible to create a pointer to a pointer in go c is a pointer to a pointer here. It stores the address of b which in turn stores…

Pointer in Go (Golang)

Posted on October 10, 2020September 16, 2021 by admin

This is the  chapter 15 of the golang comprehensive tutorial series. Refer to this link for other chapters of the series – Golang Comprehensive Tutorial Series Next Tutorial – StructPrevious Tutorial – Defer keyword Now let’s…

IOTA in Go (Golang)

Posted on October 10, 2020November 26, 2020 by admin

This is the  chapter 22 of the golang comprehensive tutorial series. Refer to this link for other chapters of the series – Golang Comprehensive Tutorial Series Next Tutorial – GoroutinesPrevious Tutorial – Interface Now let’s check…

Const struct in Go (Golang)

Posted on September 30, 2020September 30, 2020 by admin

Overview Go only supports four types of constant Numeric ( int, int64, float, float64, complex128 etc) String Character or rune Boolean It doesn’t support const struct. So below program would raise a…

Constant Map in Go (Golang)

Posted on September 30, 2020September 30, 2020 by admin

Overview Go only supports four types of constant Numeric ( int, int64, float, float64, complex128 etc) String Character or rune Boolean Go doesn’t support const map. So below program would raise a…

Character constant in Go (Golang)

Posted on September 30, 2020September 30, 2020 by admin

Overview In go character constant is represented as a value between single quotes. Refer this article to understand character in golang better in general Also to better understand character constant in golang…

Boolean constant in Go (Golang)

Posted on September 30, 2020September 30, 2020 by admin

Overview There are two untyped boolean constant true and false.  Below is the program illustrating a boolean constant.  To better understand boolean constant in golang it is important to understand typed and…

Numeric/Integer/Float constant in Go (Golang)

Posted on September 30, 2020September 30, 2020 by admin

Overview Numeric constant in go are further divided into three types Integer Floats Complex Numbers To better understand numeric constant in golang it is important to understand typed and untyped constant in…

Posts pagination

Previous 1 … 23 24 25 … 44 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