Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/essentialkaos/goheft
Utility for listing sizes of used static libraries
https://github.com/essentialkaos/goheft
golang golang-tools utility
Last synced: about 2 months ago
JSON representation
Utility for listing sizes of used static libraries
- Host: GitHub
- URL: https://github.com/essentialkaos/goheft
- Owner: essentialkaos
- License: apache-2.0
- Created: 2017-03-01T09:37:03.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2024-11-13T09:07:21.000Z (2 months ago)
- Last Synced: 2024-11-13T10:20:00.168Z (2 months ago)
- Topics: golang, golang-tools, utility
- Language: Go
- Homepage: https://kaos.sh/goheft
- Size: 275 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
README
Usage demo • Installation • Usage • Build Status • Contributing • License
`goheft` is simple utility for listing sizes of all used static libraries compiled into golang binary.
### Usage demo
[![demo](https://gh.kaos.st/goheft-070.gif)](#usage-demo)
### Installation
#### From source
To build the GoHeft from scratch, make sure you have a working Go 1.19+ workspace ([instructions](https://go.dev/doc/install)), then:
```
go install github.com/essentialkaos/goheft@latest
```#### Prebuilt binaries
You can download prebuilt binaries for Linux and macOS from [EK Apps Repository](https://apps.kaos.st/goheft/):
```bash
bash <(curl -fsSL https://apps.kaos.st/get) goheft
```### Command-line completion
You can generate completion for `bash`, `zsh` or `fish` shell.
Bash:
```bash
sudo goheft --completion=bash 1> /etc/bash_completion.d/goheft
```ZSH:
```bash
sudo goheft --completion=zsh 1> /usr/share/zsh/site-functions/goheft
```Fish:
```bash
sudo goheft --completion=fish 1> /usr/share/fish/vendor_completions.d/goheft.fish
```### Man documentation
You can generate man page for goheft using next command:
```bash
goheft --generate-man | sudo gzip > /usr/share/man/man1/goheft.1.gz
```### Usage
### Build Status
| Branch | Status |
|--------|--------|
| `master` | [![CI](https://kaos.sh/w/goheft/ci.svg?branch=master)](https://kaos.sh/w/goheft/ci?query=branch:master) |
| `develop` | [![CI](https://kaos.sh/w/goheft/ci.svg?branch=develop)](https://kaos.sh/w/goheft/ci?query=branch:develop) |### Contributing
Before contributing to this project please read our [Contributing Guidelines](https://github.com/essentialkaos/contributing-guidelines#contributing-guidelines).
### License
[Apache License, Version 2.0](https://www.apache.org/licenses/LICENSE-2.0)