https://github.com/lflxp/go-locate
golang locate for search local file or dir very fast
https://github.com/lflxp/go-locate
bbolt directory file locate
Last synced: 3 months ago
JSON representation
golang locate for search local file or dir very fast
- Host: GitHub
- URL: https://github.com/lflxp/go-locate
- Owner: lflxp
- License: apache-2.0
- Created: 2020-01-02T07:30:29.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-03-24T04:29:24.000Z (about 5 years ago)
- Last Synced: 2025-01-20T10:48:24.537Z (5 months ago)
- Topics: bbolt, directory, file, locate
- Language: Go
- Size: 1.52 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# go-locate
# TODO
1. cobra cli
2. zsh/bash completions
3. refresh/searchall/searchPrefix
4. use linux kernel monitor file change
5. use one or three index for search file#### Description
Go version locate application and BBolt database storage#### Installation
> go get -u github.com/lflxp/go-locate
#### Instructions
```
➜ go-locate ./go-locate -h
A longer description that spans multiple lines and likely contains
examples and usage of using your application. For example:Cobra is a CLI library for Go that empowers applications.
This application is a tool to generate the needed files
to quickly create a Cobra application.Usage:
go-locate [flags]
go-locate [command]Available Commands:
count count数据
delete Delete数据
help Help about any command
init 初始化数据Flags:
-a, --all 扫描方式: 默认全表扫描,false为prefix扫描
--config string config file (default is $HOME/.go-locate.yaml)
-v, --debug 是否debug日志输出
-h, --help help for go-locate
-i, --info string support regexp, check message,default: ''
-t, --toggle Help message for toggleUse "go-locate [command] --help" for more information about a command.
```#### Contribution
1. Fork the repository
2. Create Feat_xxx branch
3. Commit your code
4. Create Pull Request#### Github Feature
1. You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md
2. Github blog [blog.Github.com](https://blog.Github.com)
3. Explore open source project [https://Github.com/explore](https://Github.com/explore)
4. The most valuable open source project [GVP](https://Github.com/gvp)
5. The manual of Github [https://Github.com/help](https://Github.com/help)
6. The most popular members [https://Github.com/Github-stars/](https://Github.com/Github-stars/)