mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2024-11-29 16:23:57 +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)
|
|
}
|