Skip to content

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

License

Notifications You must be signed in to change notification settings

matthewboyd/plugs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

plugs

Importing the module:

go get github.com/matthewboyd/plugs


    "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")

About

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages