1- # go-http-client
1+ # neero-go
22
3- [ ![ Build] ( https://github.com/NdoleStudio/go-http-client /actions/workflows/main.yml/badge.svg )] ( https://github.com/NdoleStudio/go-http-client /actions/workflows/main.yml )
4- [ ![ codecov] ( https://codecov.io/gh/NdoleStudio/go-http-client /branch/main/graph/badge.svg )] ( https://codecov.io/gh/NdoleStudio/go-http-client )
5- [ ![ Scrutinizer Code Quality] ( https://scrutinizer-ci.com/g/NdoleStudio/go-http-client /badges/quality-score.png?b=main )] ( https://scrutinizer-ci.com/g/NdoleStudio/go-http-client /?branch=main )
6- [ ![ Go Report Card] ( https://goreportcard.com/badge/github.com/NdoleStudio/go-http-client )] ( https://goreportcard.com/report/github.com/NdoleStudio/go-http-client )
7- [ ![ GitHub contributors] ( https://img.shields.io/github/contributors/NdoleStudio/go-http-client )] ( https://github.com/NdoleStudio/go-http-client /graphs/contributors )
8- [ ![ GitHub license] ( https://img.shields.io/github/license/NdoleStudio/go-http-client ?color=brightgreen )] ( https://github.com/NdoleStudio/go-http-client /blob/master/LICENSE )
9- [ ![ PkgGoDev] ( https://pkg.go.dev/badge/github.com/NdoleStudio/go-http-client )] ( https://pkg.go.dev/github.com/NdoleStudio/go-http-client )
3+ [ ![ Build] ( https://github.com/NdoleStudio/neero-go /actions/workflows/main.yml/badge.svg )] ( https://github.com/NdoleStudio/neero-go /actions/workflows/main.yml )
4+ [ ![ codecov] ( https://codecov.io/gh/NdoleStudio/neero-go /branch/main/graph/badge.svg )] ( https://codecov.io/gh/NdoleStudio/neero-go )
5+ [ ![ Scrutinizer Code Quality] ( https://scrutinizer-ci.com/g/NdoleStudio/neero-go /badges/quality-score.png?b=main )] ( https://scrutinizer-ci.com/g/NdoleStudio/neero-go /?branch=main )
6+ [ ![ Go Report Card] ( https://goreportcard.com/badge/github.com/NdoleStudio/neero-go )] ( https://goreportcard.com/report/github.com/NdoleStudio/neero-go )
7+ [ ![ GitHub contributors] ( https://img.shields.io/github/contributors/NdoleStudio/neero-go )] ( https://github.com/NdoleStudio/neero-go /graphs/contributors )
8+ [ ![ GitHub license] ( https://img.shields.io/github/license/NdoleStudio/neero-go ?color=brightgreen )] ( https://github.com/NdoleStudio/neero-go /blob/master/LICENSE )
9+ [ ![ PkgGoDev] ( https://pkg.go.dev/badge/github.com/NdoleStudio/neero-go )] ( https://pkg.go.dev/github.com/NdoleStudio/neero-go )
1010
1111
12- This package provides a generic ` go ` client template for an HTTP API
12+ This package provides a go API client for the Neero Payment Gateway API
1313
1414## Installation
1515
16- ` go-http-client ` is compatible with modern Go releases in module mode, with Go installed:
16+ ` neero-go ` is compatible with modern Go releases in module mode, with Go installed:
1717
1818``` bash
19- go get github.com/NdoleStudio/go-http-client
19+ go get github.com/NdoleStudio/neero-go
2020```
2121
2222Alternatively the same can be achieved if you use ` import ` in a package:
2323
2424``` go
25- import " github.com/NdoleStudio/go-http-client "
25+ import " github.com/NdoleStudio/neero-go "
2626```
2727
2828
@@ -41,7 +41,7 @@ An instance of the client can be created using `New()`.
4141package main
4242
4343import (
44- " github.com/NdoleStudio/go-http-client "
44+ " github.com/NdoleStudio/neero-go "
4545)
4646
4747func main () {
@@ -60,20 +60,6 @@ if err != nil {
6060}
6161```
6262
63- ### Status Codes
64-
65- #### ` GET /200 ` : OK
66-
67- ``` go
68- status , response , err := statusClient.Status .Ok (context.Background ())
69-
70- if err != nil {
71- log.Fatal (err)
72- }
73-
74- log.Println (status.Description ) // OK
75- ```
76-
7763## Testing
7864
7965You can run the unit tests for this client from the root directory using the command below:
0 commit comments