Skip to content

vladimirvivien/lil-ohm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go Reference

lil-ohm

The lil-om is a Go module for calculating electrical circuit values using Ohm’s law. The module was created as part of a course for LinkedIn Learning.

Installation

You use the go get command to install the package:

go get github.com/vladimirvivien/lil-ohm@v0.1.0

Using the module

This is a simple example of how to use package volt to calculate total voltage in a circuit arranged in series.

volts := []float64{2, 4, 6, 8}
vtot := volt.Vser(volts…)

About

Go module for calculating electrical circuit values using Ohm’s law

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages