Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gbbr/ev
explore the evolution of a function
https://github.com/gbbr/ev
cli git-log go react-redux tool
Last synced: 3 months ago
JSON representation
explore the evolution of a function
- Host: GitHub
- URL: https://github.com/gbbr/ev
- Owner: gbbr
- Created: 2017-09-28T09:39:44.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-10-04T08:06:21.000Z (over 7 years ago)
- Last Synced: 2024-10-15T08:31:21.598Z (3 months ago)
- Topics: cli, git-log, go, react-redux, tool
- Language: JavaScript
- Homepage:
- Size: 12.6 MB
- Stars: 54
- Watchers: 8
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## ev
explore the evolution of a function in your browser.### installation
```
go get gbbr.io/ev/cmd/...
```### usage
```
usage: ev :
```
The command will open the browser showing snapshots of how the function `funcname` from `file` evolved in time throughout various git commits. I created it to better help me understand a codebase while trying to learn more about the implementation of Go's standard library. It can be used with any programming language.Below is an example screenshot viewing the `IndexAny` function from Go's `bytes` package.
![ev](http://i67.tinypic.com/2eatsfc.png)
See a [demo](https://youtu.be/GqfDZX7xLUQ) of it, or try it out yourself!
---
Note that `ev` uses `git log -L::` syntax, meaning that it also comes with its limitations. More specifically, if the file has multiple functions sharing the same name (ie. both method and function) it will only refer to the first occurrence starting from the top of the file.