Skip to content

Commit

Permalink
Refactor README files to include Go version compatibility information
Browse files Browse the repository at this point in the history
  • Loading branch information
arvvoid committed Sep 25, 2024
1 parent 983d14c commit 701c4dc
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
10 changes: 9 additions & 1 deletion README-HR.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
```
[![Test](https://github.com/l-d-t/fiskalhrgo/actions/workflows/test.yml/badge.svg)](https://github.com/l-d-t/fiskalhrgo/actions/workflows/test.yml)
[![Go Report Card](https://goreportcard.com/badge/github.com/l-d-t/fiskalhrgo)](https://goreportcard.com/report/github.com/l-d-t/fiskalhrgo)
![Go version](https://img.shields.io/badge/Go%20version-1.22%2B-blue)
![GitHub commits since latest release](https://img.shields.io/github/commits-since/l-d-t/fiskalhrgo/latest?include_prereleases)
![GitHub License](https://img.shields.io/github/license/l-d-t/fiskalhrgo)

# FiskalHR Go

Expand Down Expand Up @@ -36,10 +39,13 @@ Iako postoji mnogo open-source implementacija libraryja za fiskalizaciju, one su
- Ekstrakcija i vraćanje detalja certifikata kao što su javni ključ, izdavatelj, subjekt, serijski broj i razdoblje valjanosti.
- Pomoćne funkcije za generiranje QR koda za ispis na računima u raznim formatima.

### Go Verzija Kompatibilnost
- Minimalna testirana i podržana verzija: **Go 1.22**
- Preporučena verzija: **Go 1.23.1+** za najbolju izvedbu

## Instalacija

U korijenu vašeg projekta preuzmite modul

```
go get github.com/l-d-t/fiskalhrgo
```
Expand All @@ -57,6 +63,8 @@ import (
"fmt"
"log"
"time"

"github.com/l-d-t/fiskalhrgo"
)

func main() {
Expand Down
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
```
[![Test](https://github.com/l-d-t/fiskalhrgo/actions/workflows/test.yml/badge.svg)](https://github.com/l-d-t/fiskalhrgo/actions/workflows/test.yml)
[![Go Report Card](https://goreportcard.com/badge/github.com/l-d-t/fiskalhrgo)](https://goreportcard.com/report/github.com/l-d-t/fiskalhrgo)
![Go version](https://img.shields.io/badge/Go%20version-1.22%2B-blue)
![GitHub commits since latest release](https://img.shields.io/github/commits-since/l-d-t/fiskalhrgo/latest?include_prereleases)
![GitHub License](https://img.shields.io/github/license/l-d-t/fiskalhrgo)

# FiskalHR Go

Expand Down Expand Up @@ -35,6 +38,10 @@ While there are numerous open-source implementations of Croatian fiscalization l
- Extract and return certificate details such as public key, issuer, subject, serial number, and validity period.
- Helper function to get data for QR code (that can be passed to a QR code generator of your choice)

## Go Version Compatibility
- Minimum tested and supported version: **Go 1.22**
- Recommended version: **Go 1.23.1+** for best performance

## Installation

In your project root get the module
Expand All @@ -55,6 +62,8 @@ import (
"fmt"
"log"
"time"

"github.com/l-d-t/fiskalhrgo"
)

func main() {
Expand Down

0 comments on commit 701c4dc

Please sign in to comment.