Skip to content

Instantly share code, notes, and snippets.

View utkarshchowdhary's full-sized avatar
🏠
Working @ home

Utkarsh Chowdhary utkarshchowdhary

🏠
Working @ home
View GitHub Profile
@utkarshchowdhary
utkarshchowdhary / main.go
Last active January 30, 2022 08:50
JSON, Readers, Writers, Encoding and Decoding JSON Streams
package main
import (
"bytes"
"encoding/json"
"fmt"
"io"
"io/ioutil"
"os"
"strings"
@utkarshchowdhary
utkarshchowdhary / main.go
Created December 8, 2021 17:05
A Basic HTTP server in Go
package main
import (
"errors"
"fmt"
"log"
"net/http"
)
func LogOutput(message string) {