Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gowhale/go-circuit-diagram
Using go to create circuit diagram images
https://github.com/gowhale/go-circuit-diagram
Last synced: about 1 month ago
JSON representation
Using go to create circuit diagram images
- Host: GitHub
- URL: https://github.com/gowhale/go-circuit-diagram
- Owner: gowhale
- Created: 2022-12-29T17:53:15.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-02-14T03:08:31.000Z (about 2 years ago)
- Last Synced: 2024-11-17T00:33:49.920Z (3 months ago)
- Language: Go
- Size: 68.4 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# go-circuit-diagram
A repo to create circuit diagrams!## Summary
So far I the main prog creates a a PNG of an LED which you can find in the images folder.
It also creates a board with multiple LED's painted onto it which you can find in the images folder.
### Examples:
The code in 'main.go' generates the following diagram. Showing how LED's, GPIO pins, wires and connectors can be added:

The code in './cmd/anode-matrix/main.go' generates the following diagram. Showing how an LED matrix can be created using custom rows and cols:

## Actions created by this template:
### Testing
The pkg-cov workflow runs all go tests and ensures pkg coverage is above 80%.

The pages workflow publishes a test coverage website everytime there is a push to the main branch. The website can be found here: https://gowhale.github.io/go-circuit-diagram/#file0

### Linters
The revive workflow is executed to statically analsye go files: https://github.com/mgechev/revive

The golangci-lint workflow runs the golangci-lint linter: https://github.com/golangci/golangci-lint

### Project Management
The issue workflow adds a new issue to the projects Kanban board:

The cut release workflow creates a binary executable everytime a release is published. The binary file is attached to the release.
