An open API service indexing awesome lists of open source software.

https://github.com/matthewboyd/plugs

Plugs module to see different types of plug types needed in different countries, and a comparison tool between two countries plug socket types.
https://github.com/matthewboyd/plugs

go golang gomodule plugs

Last synced: 10 months ago
JSON representation

Plugs module to see different types of plug types needed in different countries, and a comparison tool between two countries plug socket types.

Awesome Lists containing this project

README

          

# plugs

## Importing the module:

`go get github.com/matthewboyd/plugs`

```imports (

"github.com/matthewboyd/plugs"
```

## How to use the module:

There are two functions within the module:

* Display
* DoINeedAConverter

## Display:

The display will allow you to see the following properties:

* The plug type
* The volts used in the country
* The hertz used in the country

Example use:

plugs.Display("Serbia")

## DoINeedAConverter

This will allow you to compare two countries and see if you require a converter.

plugs.DoINeedAConverter("USA", "UK")