gin

command
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Runnable Gin server exposing the UniRate routes.

UNIRATE_API_KEY=your-key go run ./examples/gin

Then:

curl 'http://localhost:8080/rate?from=USD&to=EUR'
curl 'http://localhost:8080/convert?from=USD&to=EUR&amount=100'
curl 'http://localhost:8080/currencies'
curl 'http://localhost:8080/vat?country=DE'

Jump to

Keyboard shortcuts

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