equinox

package module
v0.2.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 25, 2022 License: MIT Imports: 2 Imported by: 1

README

Equinox

This shouldn't be used in any production environment, this is just a practice tool for me to learn CI/CD using Github Actions and tests in golang. But hey, unless you really want to use this package just so you can use the single endpoint implemented, hey uh, have fun.

I was recommended Alex Pliutau's video on youtube and got curious about other aspects like tests, I decided to make a client for the Riot Games API since I am more familiar with it.

I am avoiding using other packages like resty instead of the net/http package go provides to improve my golang knowledge, currently just using testify.

TODO

Tests

I am not sure if tests are 'good enough', I am just checking if errors are Nil and the response is NotNil using testify.

Logging

I don't believe the current logging and 'debugging mode' is done right or that its 'done' at all to be honest.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Equinox

type Equinox struct {
	LOL *lol.LOLClient
	// contains filtered or unexported fields
}

func NewClient

func NewClient(key string) *Equinox

Creates a new Equinox client

func NewClientWithDebug added in v0.2.0

func NewClientWithDebug(key string) *Equinox

Creates a new Equinox client with debug

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL