mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2024-10-31 19:22:30 +00:00
b5e0e29ec6
So that you can still build and use fzf even when the precise version number is not injected via -ldflags.
15 lines
242 B
Go
15 lines
242 B
Go
package main
|
|
|
|
import (
|
|
"github.com/junegunn/fzf/src"
|
|
"github.com/junegunn/fzf/src/protector"
|
|
)
|
|
|
|
var version string = "0.24"
|
|
var revision string = "devel"
|
|
|
|
func main() {
|
|
protector.Protect()
|
|
fzf.Run(fzf.ParseOptions(), version, revision)
|
|
}
|