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

https://github.com/vladimirvivien/lil-ohm

Go module for calculating electrical circuit values using Ohm’s law
https://github.com/vladimirvivien/lil-ohm

go-module golang-module ohm-law

Last synced: 2 months ago
JSON representation

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

Awesome Lists containing this project

README

        

[![Go Reference](https://pkg.go.dev/badge/github.com/vladimirvivien/lil-ohm.svg)](https://pkg.go.dev/github.com/vladimirvivien/lil-ohm )

# 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/[email protected]
```

### Using the module
This is a simple example of how to use package `volt` to calculate total voltage in a circuit arranged in series.

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