From 7299dbdea1c001abb0f17f608436ffc64ffa7f70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fa=CC=81bio=20Matavelli?= Date: Tue, 26 Dec 2023 14:53:23 +0000 Subject: [PATCH] docs: update readme --- README.md | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 958b1c1..f6df1dc 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,6 @@ # Millennium Go -[![Build Status](https://travis-ci.org/fabiomatavelli/millennium-go.svg?branch=master)](https://travis-ci.org/fabiomatavelli/millennium-go) -[![Maintainability](https://api.codeclimate.com/v1/badges/85c1d065ae5a2a15aff2/maintainability)](https://codeclimate.com/github/fabiomatavelli/millennium-go/maintainability) -[![Test Coverage](https://api.codeclimate.com/v1/badges/85c1d065ae5a2a15aff2/test_coverage)](https://codeclimate.com/github/fabiomatavelli/millennium-go/test_coverage) -[![Go Report Card](https://goreportcard.com/badge/github.com/fabiomatavelli/millennium-go)](https://goreportcard.com/report/github.com/fabiomatavelli/millennium-go) -[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Ffabiomatavelli%2Fmillennium-go.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2Ffabiomatavelli%2Fmillennium-go?ref=badge_shield) +[![Test Status](https://github.com/fabiomatavelli/millennium-go/actions/workflows/test.yml/badge.svg)](https://github.com/fabiomatavelli/millennium-go/actions/workflows/test.yml) Esta biblioteca tem o intuito de facilitar a integração com o ERP Millennium utilizando Go. @@ -39,7 +35,7 @@ type Filial struct { func main() { var filiais []Filial client := millennium.NewClient(context.Background(), "http://192.168.1.1:6017", 30) - + // Login utilizando a sessão do Millennium err := client.Login("usuario", "senha", millennium.Session) if err != nil { @@ -47,7 +43,7 @@ func main() { } total, err := client.Get("millenium.filiais.lista", url.Values{}, &filiais) - + if err != nil { panic(err) } @@ -61,4 +57,5 @@ func main() { ``` ## License -[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Ffabiomatavelli%2Fmillennium-go.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Ffabiomatavelli%2Fmillennium-go?ref=badge_large) \ No newline at end of file + +[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Ffabiomatavelli%2Fmillennium-go.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Ffabiomatavelli%2Fmillennium-go?ref=badge_large)