Skip to content

Commit

Permalink
docs: update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiomatavelli committed Dec 26, 2023
1 parent 5c514a3 commit 7299dbd
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -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.

Expand Down Expand Up @@ -39,15 +35,15 @@ 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 {
panic(err)
}

total, err := client.Get("millenium.filiais.lista", url.Values{}, &filiais)

if err != nil {
panic(err)
}
Expand All @@ -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)

[![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)

0 comments on commit 7299dbd

Please sign in to comment.