package
0.11.0-alpha
Repository: https://github.com/meowmix1337/go-core.git
Documentation: pkg.go.dev

# README

My Client

Just a basic Http Client so I can use this anywhere to interact with other APIs without having to rewrite this everytime.

Add the dependency

go get github.com/meowmix1337/go-core

Usage

Basic Usage

import "github.com/meowmix1337/go-core/http_client"

httpClient := http_client.New("http://dog.ceo", "/api")
resp, err := httpClient.Get(context.Context, "/breeds/list/all", nil)

resp, err := httpClient.Get(context.Context, "/breeds/list/all", map[string]string{
    "breed": "corgi"
})

# Functions

No description provided by the author

# Structs

MyClient is a wrapper struct that implements specific HTTP methods.

# Interfaces

No description provided by the author