Skip to content
srostyslavPublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

Helpers package for Go language

This package provides some helpers Go types & functions.

Installation

Use the go command:

$ go get github.com/srostyslav/helpers

Requirements

Helpers package tested against Go 1.16.

Example

package main

import (
    "github.com/srostyslav/helpers"
)

func main() {
    helpers.InitLogger()

    req := &helpers.Request{Url: "https://www.google.com"}
    if err := req.Get(); err != nil {
        helpers.ErrorLogger.Println(err)
    } else {
        helpers.InfoLogger.Println(req.ResponseCode)
    }
}

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages

⌂ 换网址