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
- Host: GitHub
- URL: https://github.com/vladimirvivien/lil-ohm
- Owner: vladimirvivien
- License: mit
- Created: 2023-07-27T21:43:08.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-09-17T14:36:57.000Z (over 1 year ago)
- Last Synced: 2025-01-08T08:39:39.504Z (4 months ago)
- Topics: go-module, golang-module, ohm-law
- Language: Go
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](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…)
```