Socket
Book a DemoInstallSign in
Socket

github.com/insmo/currency

Package Overview
Dependencies
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/insmo/currency

Source
Go
Version
v0.0.0-20210520110841-1836850c53b9
Version published
Created
Source

Currency

Package currency implements a currency converter.

In short the package uses the European Central Banks exchange rates for historical currency conversion. http://fixer.io API is used to access the the data.

See godoc for API and usage examples: https://pkg.go.dev/github.com/insmo/currency

Fixer.io API Token

It is required to get an API token from fixer.io to use this package. The helper functions and default exchange look for an API token on the environment variable FIXER_API_TOKEN.

FAQs

Package last updated on 20 May 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts