mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-06-02 12:52:12 +00:00
Use Go1.11 module (#5743)
* Migrate to go modules * make vendor * Update mvdan.cc/xurls * make vendor * Update code.gitea.io/git * make fmt-check * Update github.com/go-sql-driver/mysql * make vendor
This commit is contained in:
parent
d578b71d61
commit
d77176912b
575 changed files with 63239 additions and 13963 deletions
23
vendor/github.com/lunny/levelqueue/README.md
generated
vendored
Normal file
23
vendor/github.com/lunny/levelqueue/README.md
generated
vendored
Normal file
|
@ -0,0 +1,23 @@
|
|||
# levelqueue
|
||||
|
||||
Level queue is a simple queue golang library base on go-leveldb.
|
||||
|
||||
[](https://circleci.com/gh/lunny/levelqueue)
|
||||
[](https://codecov.io/gh/lunny/levelqueue)
|
||||
[](https://goreportcard.com/report/github.com/lunny/levelqueue)
|
||||
|
||||
## Installation
|
||||
|
||||
```
|
||||
go get github.com/lunny/levelqueue
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
```Go
|
||||
queue, err := levelqueue.Open("./queue")
|
||||
|
||||
err = queue.RPush([]byte("test"))
|
||||
|
||||
data, err = queue.LPop()
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue