https://github.com/invertedv/utilities
Helpful functions I keep re-creating
https://github.com/invertedv/utilities
Last synced: 5 months ago
JSON representation
Helpful functions I keep re-creating
- Host: GitHub
- URL: https://github.com/invertedv/utilities
- Owner: invertedv
- License: apache-2.0
- Created: 2023-04-27T18:07:32.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2024-05-09T13:24:43.000Z (about 2 years ago)
- Last Synced: 2024-06-13T11:55:14.298Z (about 2 years ago)
- Language: Go
- Size: 67.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
## Utilities
[](https://goreportcard.com/report/github.com/invertedv/utilities)
[](https://pkg.go.dev/mod/github.com/invertedv/utilities?tab=overview)
Everybody has little functions that the find themselves writing ... and re-writing in different packages.
Enough! I got tired of that, so I created a package for it.
You might find them useful, too.
### plotly
Included are functions that work with the excellent Go [Plotly](github.com/MetalBlueberry/go-plotly) project.
Some of these are convenience functions -- structs to hold common plot parameters such as title.
Others output plots in standard formats such as png and jpeg. These rely on the
[orca](https://github.com/plotly/orca) app. The steps to use this app on Linux are:
1. Download the latest [release](https://github.com/plotly/orca/releases) of the AppImage.
2. Put it somewhere safe.
3. chmod +x
4. make a symbolic link called "orca" in your path.
orca requires FUSE. FUSE installation instructions are [here](https://github.com/AppImage/AppImageKit/wiki/FUSE)
Note that --no-sandbox is added to orca per this [thread](https://github.com/chrismaltby/gb-studio/issues/1102).