Pratik Jagrut
Pratik Jagrut

Pratik Jagrut

Follow
Follow
homeGobadges
Tag

programming languages

#programming-languages

More content

Read more stories on Hashnode


Articles with this tag

Error Handling in Go (Part-2)

Nov 19, 20229 min read95 views

Creating errors with errors.New() function If we don't need a custom type for an error, and we can work with a single error type then we can use...

Error Handling in Go (Part-2)

Error Handling in Go (Part-1)

Nov 11, 20227 min read96 views

Error is a result of unexpected circumstances or abnormal behaviour of the program. For example, a network connection error, a user entering incorrect...

Error Handling in Go (Part-1)

Interfaces in Go (Part-2)

Oct 21, 20229 min read92 views

Type assertion Type assertion is used to get the underlying concrete value of the interface variable. i.(Type) this is the syntax of type assertion,...

Interfaces in Go (Part-2)

Interfaces in Go (Part-1)

Oct 7, 20228 min read82 views

In Golang, an interface is a set of method signatures. When any type defines all the methods from an interface then that type implements the...

Interfaces in Go (Part-1)

Structs in Go (Part-2)

Sep 23, 20228 min read107 views

Nested Structs Go allows us to use a struct as a field of another struct, this pattern is called nesting. A nested struct can be defined using the...

Structs in Go (Part-2)

Structs in Go (Part-1)

Sep 17, 20225 min read74 views

What is Struct? A struct is a sequence of named elements, called fields, each of which has a name and a type. Field names may be specified explicitly...

Structs in Go (Part-1)