Category: Go Packages

Golang ResponseWriter & Request | Handler Interface

The Previous Blog we talked about How the Golang HTTP Server is created using the Golang TCP Server using the Go Net Package. In this blog, we will take a look at Golang ResponseWriter and Request in net/http package Handler Interface. But we don’t have to make that much effort just to create a server…
Read more

Golang TCP – Build HTTP Server – Go Net Package

In this blog, we will learn about the Golang TCP and how we can build Go HTTP (Hypertext transfer protocol) Server using TCP (Transmission Control Protocol) from the Golang Net Package. To use Golang TCP and related functions we are going to use the Net Package. import “net” Golang HTTP is built over TCP, as…
Read more

Golang Fprintf, Fprint, and Fprintln | Go FMT Package

In this blog, we are going to look at Golang Fprint, Fprintf, and the Fprintln Format functions from the Go FMT package. Import Golang fmt package to use this Format function. Golang Fprint func Fprint(w io.Writer, a …interface{}) (n int, err error) The Golang FMT package Fprint function takes a writer and variadic parameter in…
Read more

Golang UTF8 Package – Text Encoding

In this blog, we will learn about the Golang UTF8 Package and Character Encoding in Programming Languages. The Golang Unicode/utf8 package provides several useful functions for querying and manipulating strings and []bytes which hold UTF8 bytes. First of all lets understand the difference between UTF8 and ASCII Encoding. ASCII vs UTF8 Encoding In earlier days…
Read more

Golang Printf – fmt Package | Go Format

In this blog, we are going to have a deep look at the Golang Printf Format function in fmt package or Golang Format Package. Learn about Golang Basics. Let’s Start! Golang Printf function Golang Printf Function Signature func Printf(format string, a …interface{}) (n int, err error) The Golang Printf function takes two parameters the format…
Read more